Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009283/0.0009283, allocations: 73.88 kB / 20.65 MB, free: 3.848 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9966/0.9966, allocations: 177.1 MB / 201 MB, free: 5.68 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001687/0.001687, allocations: 164.5 kB / 257.7 MB, free: 12.95 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.03777/0.03777, allocations: 6.653 MB / 320.9 MB, free: 11.46 MB / 298.7 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(HanserModelica.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=25000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL") translateModel(HanserModelica.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=25000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.21e-07/8.21e-07, allocations: 0 / 392.9 MB, free: 3.352 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.063e-05/1.145e-05, allocations: 6.312 kB / 392.9 MB, free: 3.344 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_DOL): time 0.01232/0.01233, allocations: 16.53 MB / 409.4 MB, free: 2.738 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.008781/0.02111, allocations: 5.613 MB / 415 MB, free: 13.11 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002112/0.02322, allocations: 131.2 kB / 415.2 MB, free: 12.98 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002151/0.02537, allocations: 1.27 MB / 416.4 MB, free: 11.7 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003153/0.02853, allocations: 1.684 MB / 418.1 MB, free: 10 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001602/0.03013, allocations: 1.101 MB / 419.2 MB, free: 8.906 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.003925/0.03405, allocations: 5.298 MB / 424.5 MB, free: 3.578 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002205/0.03626, allocations: 2.235 MB / 426.8 MB, free: 1.262 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003382/0.03964, allocations: 3.563 MB / 430.3 MB, free: 13.69 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002181/0.04182, allocations: 2.44 MB / 432.8 MB, free: 11.25 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005752/0.0424, allocations: 0.6133 MB / 433.4 MB, free: 10.63 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00101/0.04341, allocations: 0.8394 MB / 434.2 MB, free: 9.793 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008097/0.04422, allocations: 1.48 MB / 435.7 MB, free: 8.309 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001512/0.04573, allocations: 1.808 MB / 437.5 MB, free: 6.496 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003637/0.04937, allocations: 4.287 MB / 441.8 MB, free: 2.195 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.04937, allocations: 0 / 441.8 MB, free: 2.195 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.04937, allocations: 3.938 kB / 441.8 MB, free: 2.191 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.104e-05/0.04943, allocations: 0 / 441.8 MB, free: 2.191 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1052 * Number of variables: 1052 Notification: Performance of Generate backend data structure: time 0.1338/0.1832, allocations: 5.565 MB / 447.4 MB, free: 136.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.1833, allocations: 9.188 kB / 447.4 MB, free: 136.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003298/0.1865, allocations: 1.455 MB / 448.8 MB, free: 136.4 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003547/0.1901, allocations: 2.773 MB / 451.6 MB, free: 136 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001759/0.1903, allocations: 303.9 kB / 451.9 MB, free: 136 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004067/0.1907, allocations: 402.8 kB / 452.3 MB, free: 136 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00416/0.1948, allocations: 2.943 MB / 455.2 MB, free: 135.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.683e-05/0.1949, allocations: 1.312 kB / 455.2 MB, free: 135.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002559/0.1952, allocations: 172.7 kB / 455.4 MB, free: 135.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001527/0.1953, allocations: 174 kB / 455.6 MB, free: 135.4 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002221/0.1975, allocations: 1.204 MB / 456.8 MB, free: 135.3 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01196/0.2095, allocations: 13.41 MB / 470.2 MB, free: 128.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002264/0.2118, allocations: 2.265 MB / 472.4 MB, free: 127.4 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00139/0.2132, allocations: 1.216 MB / 473.7 MB, free: 126.4 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003586/0.2167, allocations: 3.145 MB / 476.8 MB, free: 123.4 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.2168, allocations: 54.7 kB / 476.9 MB, free: 123.4 MB / 410.7 MB Notification: Performance of pre-optimization done (n=158): time 2.565e-06/0.2168, allocations: 0 / 476.9 MB, free: 123.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=161): time 0.004231/0.221, allocations: 3.029 MB / 479.9 MB, free: 120.4 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.89e-05/0.221, allocations: 72.72 kB / 480 MB, free: 120.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001246/0.2223, allocations: 1.807 MB / 481.8 MB, free: 118.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.763e-05/0.2223, allocations: 53.7 kB / 481.8 MB, free: 118.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006773/0.223, allocations: 2.027 MB / 483.8 MB, free: 116.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002606/0.2233, allocations: 0.594 MB / 484.4 MB, free: 116.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003471/0.2236, allocations: 433.5 kB / 484.9 MB, free: 115.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.27e-05/0.2236, allocations: 476.8 kB / 485.3 MB, free: 115.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002796/0.2239, allocations: 236.1 kB / 485.6 MB, free: 115.1 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005327/0.2245, allocations: 1.291 MB / 486.9 MB, free: 113.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001096/0.2256, allocations: 1.702 MB / 488.6 MB, free: 111.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.005e-05/0.2256, allocations: 8 kB / 488.6 MB, free: 111.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=276) (initialization): time 0.001666/0.2272, allocations: 1.714 MB / 490.3 MB, free: 109.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.2272, allocations: 19.98 kB / 490.3 MB, free: 109.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.824e-05/0.2273, allocations: 24 kB / 490.3 MB, free: 109.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001889/0.2275, allocations: 126 kB / 490.4 MB, free: 109.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009235/0.2284, allocations: 0.5065 MB / 490.9 MB, free: 109.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008603/0.2292, allocations: 2.337 MB / 493.3 MB, free: 106.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006995/0.2299, allocations: 87.88 kB / 493.4 MB, free: 106.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.348e-05/0.23, allocations: 83.98 kB / 493.5 MB, free: 106.6 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (267): * Single equations (assignments): 265 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000511/0.2305, allocations: 307.7 kB / 493.8 MB, free: 106.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002344/0.2308, allocations: 290.5 kB / 494 MB, free: 106 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001366/0.2321, allocations: 1.287 MB / 495.3 MB, free: 104.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.2321, allocations: 20 kB / 495.3 MB, free: 104.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.2321, allocations: 4 kB / 495.3 MB, free: 104.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.2322, allocations: 15.91 kB / 495.4 MB, free: 104.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003231/0.2354, allocations: 3.259 MB / 498.6 MB, free: 101.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.2354, allocations: 0 / 498.6 MB, free: 101.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005806/0.236, allocations: 270.1 kB / 498.9 MB, free: 101.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004747/0.2364, allocations: 268.6 kB / 499.1 MB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.854e-05/0.2365, allocations: 43.98 kB / 499.2 MB, free: 101.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002638/0.2392, allocations: 7.21 MB / 0.4945 GB, free: 93.69 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.2392, allocations: 4 kB / 0.4945 GB, free: 93.69 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001752/0.2409, allocations: 1.765 MB / 0.4963 GB, free: 91.91 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003999/0.2413, allocations: 376 kB / 0.4966 GB, free: 91.55 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000169/0.2415, allocations: 32 kB / 0.4966 GB, free: 91.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005003/0.242, allocations: 59.97 kB / 0.4967 GB, free: 91.46 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001492/0.2421, allocations: 121 kB / 0.4968 GB, free: 91.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.237e-05/0.2422, allocations: 39.98 kB / 0.4969 GB, free: 91.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006033/0.2428, allocations: 0.9358 MB / 0.4978 GB, free: 90.44 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2428, allocations: 0 / 0.4978 GB, free: 90.44 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001244/0.244, allocations: 0.6718 MB / 0.4984 GB, free: 89.77 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (smee.inertiaRotor.w,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smee.excitation.electroMagneticConverter.Phi.re,mechanicalSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (130): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,8,100.0%), (1,8,100.0%), (2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001914/0.2442, allocations: 177.1 kB / 0.4986 GB, free: 89.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001157/0.2454, allocations: 1.233 MB / 0.4998 GB, free: 88.45 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2454, allocations: 1.094 kB / 0.4998 GB, free: 88.45 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007784/0.2462, allocations: 1.14 MB / 0.5009 GB, free: 87.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001141/0.2473, allocations: 0.5243 MB / 0.5014 GB, free: 86.79 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005769/0.2531, allocations: 6.047 MB / 0.5073 GB, free: 80.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005713/0.2536, allocations: 0.9381 MB / 0.5082 GB, free: 79.75 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006841/0.2543, allocations: 327.2 kB / 0.5086 GB, free: 79.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000748/0.2551, allocations: 0.5955 MB / 0.5091 GB, free: 78.83 MB / 410.7 MB Notification: Performance of SimCode: time 6.41e-07/0.2551, allocations: 4 kB / 0.5091 GB, free: 78.83 MB / 410.7 MB Notification: Performance of Templates: time 0.03694/0.292, allocations: 32.59 MB / 0.541 GB, free: 46.78 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8030717140063643]