Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.0008989/0.0008989, allocations: 100.4 kB / 19.7 MB, free: 452 kB / 13.93 MB " [Timeout remaining time 180] 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.001063/0.001063, allocations: 212.1 kB / 23 MB, free: 2.98 MB / 13.93 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.9602/0.9602, allocations: 230.6 MB / 256.8 MB, free: 9.617 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7599/0.7599, allocations: 203.5 MB / 0.5046 GB, free: 10.67 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") translateModel(IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009968/0.0009968, allocations: 63.89 kB / 0.719 GB, free: 3.906 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4734/0.4744, allocations: 102 MB / 0.8186 GB, free: 1.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.003171/0.4776, allocations: 3.226 MB / 0.8218 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002161/0.4797, allocations: 2 MB / 0.8237 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001137/0.4799, allocations: 9.312 kB / 0.8237 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006156/0.4805, allocations: 286.8 kB / 0.824 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003608/0.4808, allocations: 246.7 kB / 0.8242 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004668/0.4813, allocations: 280.5 kB / 0.8245 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003772/0.4817, allocations: 415.5 kB / 0.8249 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003102/0.482, allocations: 156.6 kB / 0.825 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002441/0.4822, allocations: 181.8 kB / 0.8252 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002938/0.4825, allocations: 200 kB / 0.8254 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.167e-05/0.4826, allocations: 24.03 kB / 0.8254 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003117/0.4829, allocations: 244.9 kB / 0.8257 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.483, allocations: 127 kB / 0.8258 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.4831, allocations: 121.3 kB / 0.8259 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005291/0.4836, allocations: 494.3 kB / 0.8264 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.4836, allocations: 0 / 0.8264 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.863e-06/0.4836, allocations: 3.188 kB / 0.8264 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.704e-06/0.4836, allocations: 0 / 0.8264 GB, free: 13.02 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0007599/0.4844, allocations: 0.5372 MB / 0.8269 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.4844, allocations: 9.625 kB / 0.8269 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005975/0.485, allocations: 111.3 kB / 0.827 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002816/0.4853, allocations: 230.9 kB / 0.8272 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.4853, allocations: 18.06 kB / 0.8272 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.271e-05/0.4854, allocations: 43.52 kB / 0.8273 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005847/0.486, allocations: 0.5207 MB / 0.8278 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.486, allocations: 5.766 kB / 0.8278 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.475e-05/0.486, allocations: 8 kB / 0.8278 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.999e-05/0.4861, allocations: 39.78 kB / 0.8278 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004482/0.4866, allocations: 367.3 kB / 0.8282 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001773/0.4884, allocations: 1.593 MB / 0.8298 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003042/0.4887, allocations: 243.4 kB / 0.83 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001622/0.4888, allocations: 145.2 kB / 0.8301 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/0.4888, allocations: 2.125 kB / 0.8301 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.4889, allocations: 37.61 kB / 0.8302 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=22): time 1.322e-06/0.4889, allocations: 0 / 0.8302 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.001507/0.4904, allocations: 0.9064 MB / 0.831 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.937e-05/0.4904, allocations: 61.67 kB / 0.8311 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002106/0.4906, allocations: 240.3 kB / 0.8313 GB, free: 9.875 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.4906, allocations: 31.89 kB / 0.8314 GB, free: 9.84 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.4907, allocations: 192.2 kB / 0.8315 GB, free: 9.676 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.425e-05/0.4908, allocations: 93.95 kB / 0.8316 GB, free: 9.602 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.097e-05/0.4909, allocations: 77.19 kB / 0.8317 GB, free: 9.559 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.215e-05/0.491, allocations: 332.2 kB / 0.832 GB, free: 9.238 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002025/0.4912, allocations: 159.9 kB / 0.8322 GB, free: 9.184 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002425/0.4914, allocations: 242.8 kB / 0.8324 GB, free: 9.031 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004099/0.4918, allocations: 407.8 kB / 0.8328 GB, free: 8.805 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.4918, allocations: 3.938 kB / 0.8328 GB, free: 8.801 MB / 0.6198 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008045/0.4926, allocations: 0.5977 MB / 0.8334 GB, free: 8.559 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.4926, allocations: 10.67 kB / 0.8334 GB, free: 8.555 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.4926, allocations: 3 kB / 0.8334 GB, free: 8.555 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000423/0.4931, allocations: 183.4 kB / 0.8336 GB, free: 8.516 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001879/0.4933, allocations: 71.33 kB / 0.8336 GB, free: 8.504 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001955/0.4952, allocations: 2.344 MB / 0.8359 GB, free: 6.859 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001796/0.4954, allocations: 23.73 kB / 0.836 GB, free: 6.855 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.123e-05/0.4954, allocations: 16.41 kB / 0.836 GB, free: 6.852 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001192/0.4955, allocations: 164.1 kB / 0.8361 GB, free: 6.711 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.636e-05/0.4956, allocations: 27.23 kB / 0.8362 GB, free: 6.695 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003961/0.496, allocations: 357.6 kB / 0.8365 GB, free: 6.531 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/0.496, allocations: 3.188 kB / 0.8365 GB, free: 6.531 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.496, allocations: 0 / 0.8365 GB, free: 6.531 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.496, allocations: 6.266 kB / 0.8365 GB, free: 6.527 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007301/0.4967, allocations: 0.7055 MB / 0.8372 GB, free: 6.109 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.4967, allocations: 5.625 kB / 0.8372 GB, free: 6.105 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000224/0.4969, allocations: 77.89 kB / 0.8373 GB, free: 6.098 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.4969, allocations: 1.625 kB / 0.8373 GB, free: 6.098 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.497, allocations: 8.062 kB / 0.8373 GB, free: 6.094 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.497, allocations: 1.812 kB / 0.8373 GB, free: 6.094 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.497, allocations: 5.094 kB / 0.8373 GB, free: 6.09 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005533/0.4975, allocations: 0.6141 MB / 0.8379 GB, free: 5.758 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.758e-05/0.4976, allocations: 53.12 kB / 0.8379 GB, free: 5.734 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.448e-05/0.4976, allocations: 8.047 kB / 0.8379 GB, free: 5.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.4977, allocations: 11.58 kB / 0.838 GB, free: 5.73 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.834e-05/0.4978, allocations: 20.69 kB / 0.838 GB, free: 5.723 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.4978, allocations: 6.016 kB / 0.838 GB, free: 5.723 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001459/0.4979, allocations: 176 kB / 0.8382 GB, free: 5.617 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.4979, allocations: 0 / 0.8382 GB, free: 5.617 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000283/0.4982, allocations: 90.69 kB / 0.8382 GB, free: 5.605 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001132/0.4983, allocations: 111.9 kB / 0.8383 GB, free: 5.508 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006794/0.499, allocations: 0.5103 MB / 0.8388 GB, free: 5.258 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.499, allocations: 1.094 kB / 0.8388 GB, free: 5.258 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001557/0.4992, allocations: 138.8 kB / 0.839 GB, free: 5.215 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/0.4995, allocations: 58.03 kB / 0.839 GB, free: 5.195 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.5005, allocations: 0.8835 MB / 0.8399 GB, free: 4.645 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001561/0.5007, allocations: 193 kB / 0.8401 GB, free: 4.547 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.7e-05/0.5008, allocations: 26.03 kB / 0.8401 GB, free: 4.539 MB / 0.6198 GB Notification: Performance of SimCode: time 4.31e-07/0.5008, allocations: 0 / 0.8401 GB, free: 4.539 MB / 0.6198 GB Notification: Performance of Templates: time 0.005127/0.5059, allocations: 4.59 MB / 0.8446 GB, free: 2.371 MB / 0.6198 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.177041301038116] Failed to read output from testmodel.py, exit status != 0: 0.5112658026628196 0.520452506 0.034834077000000005 Calling exit ...