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.0009337/0.0009337, allocations: 93.06 kB / 19.65 MB, free: 280 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.001013/0.001013, allocations: 173 kB / 23.03 MB, free: 1.547 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.9654/0.9654, allocations: 177.2 MB / 203.4 MB, free: 5.648 MB / 186.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-545:108: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-545:116: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.7988/0.7988, allocations: 154.6 MB / 414.5 MB, free: 0.6719 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0.875 kB / 0.5203 GB, free: 2.223 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.91e-05/3.106e-05, allocations: 5.125 kB / 0.5203 GB, free: 2.219 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.00354/0.003571, allocations: 2.653 MB / 0.5229 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.002172/0.005743, allocations: 1.478 MB / 0.5244 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000141/0.005884, allocations: 7.938 kB / 0.5244 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004949/0.006379, allocations: 97.06 kB / 0.5245 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.00041/0.006789, allocations: 199.6 kB / 0.5246 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005703/0.007359, allocations: 265.7 kB / 0.5249 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0004642/0.007823, allocations: 426.2 kB / 0.5253 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003385/0.008162, allocations: 174.5 kB / 0.5255 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003217/0.008483, allocations: 227.4 kB / 0.5257 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003134/0.008797, allocations: 187.5 kB / 0.5259 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.712e-05/0.008834, allocations: 24 kB / 0.5259 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002645/0.009098, allocations: 165.4 kB / 0.5261 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0004088/0.009507, allocations: 135.6 kB / 0.5262 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.009608, allocations: 103.8 kB / 0.5263 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004958/0.0101, allocations: 354.8 kB / 0.5266 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.01011, allocations: 0.5625 kB / 0.5266 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.543e-06/0.01011, allocations: 0 / 0.5266 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.085e-06/0.01012, allocations: 4.906 kB / 0.5266 GB, free: 11.78 MB / 0.4948 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.0008747/0.01099, allocations: 0.6177 MB / 0.5272 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.01103, allocations: 8.812 kB / 0.5272 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006429/0.01168, allocations: 161.5 kB / 0.5274 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002829/0.01196, allocations: 222.3 kB / 0.5276 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.01198, allocations: 20.86 kB / 0.5276 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.912e-05/0.01207, allocations: 29.88 kB / 0.5276 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004604/0.01253, allocations: 426 kB / 0.5281 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.01254, allocations: 4.125 kB / 0.5281 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.555e-05/0.01257, allocations: 16.41 kB / 0.5281 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.179e-05/0.01266, allocations: 51.28 kB / 0.5281 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002522/0.01291, allocations: 154.8 kB / 0.5283 GB, free: 9.965 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001473/0.01439, allocations: 1.833 MB / 0.5301 GB, free: 8.062 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002436/0.01463, allocations: 151.9 kB / 0.5302 GB, free: 7.902 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.71e-05/0.01472, allocations: 67.66 kB / 0.5303 GB, free: 7.832 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.01474, allocations: 4 kB / 0.5303 GB, free: 7.828 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.01476, allocations: 34.89 kB / 0.5303 GB, free: 7.785 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=22): time 2.174e-06/0.01476, allocations: 0 / 0.5303 GB, free: 7.785 MB / 0.4948 GB Notification: Performance of matching and sorting (n=23): time 0.0009515/0.01571, allocations: 0.5645 MB / 0.5309 GB, free: 7.191 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.02e-05/0.01574, allocations: 63.28 kB / 0.5309 GB, free: 7.117 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002428/0.01599, allocations: 283.1 kB / 0.5312 GB, free: 6.824 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/0.01601, allocations: 32.14 kB / 0.5312 GB, free: 6.789 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/0.01614, allocations: 235.1 kB / 0.5314 GB, free: 6.555 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.724e-05/0.01619, allocations: 91.27 kB / 0.5315 GB, free: 6.465 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.9e-05/0.01629, allocations: 83.28 kB / 0.5316 GB, free: 6.375 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.01642, allocations: 0.504 MB / 0.5321 GB, free: 5.859 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.01653, allocations: 63.95 kB / 0.5322 GB, free: 5.797 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001549/0.01668, allocations: 179.4 kB / 0.5323 GB, free: 5.574 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002641/0.01695, allocations: 262.5 kB / 0.5326 GB, free: 5.277 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.01695, allocations: 0 / 0.5326 GB, free: 5.277 MB / 0.4948 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005861/0.01754, allocations: 399.4 kB / 0.533 GB, free: 4.883 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.01755, allocations: 6.031 kB / 0.533 GB, free: 4.879 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.01756, allocations: 4 kB / 0.533 GB, free: 4.875 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008529/0.01841, allocations: 190.1 kB / 0.5332 GB, free: 4.695 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001811/0.01859, allocations: 64.48 kB / 0.5332 GB, free: 4.633 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001547/0.02014, allocations: 2.198 MB / 0.5354 GB, free: 2.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001685/0.02031, allocations: 15.98 kB / 0.5354 GB, free: 2.305 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.23e-05/0.02033, allocations: 21.2 kB / 0.5354 GB, free: 2.285 MB / 0.4948 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.0001129/0.02044, allocations: 172.5 kB / 0.5356 GB, free: 2.105 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.465e-05/0.02049, allocations: 28.44 kB / 0.5356 GB, free: 2.078 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002563/0.02075, allocations: 213.5 kB / 0.5358 GB, free: 1.859 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.02075, allocations: 0 / 0.5358 GB, free: 1.859 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.02075, allocations: 3.938 kB / 0.5358 GB, free: 1.855 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.02076, allocations: 0 / 0.5358 GB, free: 1.855 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005602/0.02132, allocations: 0.5743 MB / 0.5364 GB, free: 1.234 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.02132, allocations: 0.7188 kB / 0.5364 GB, free: 1.234 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002168/0.02153, allocations: 73.28 kB / 0.5364 GB, free: 1.164 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.177e-06/0.02154, allocations: 4 kB / 0.5364 GB, free: 1.16 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/0.02156, allocations: 11.92 kB / 0.5364 GB, free: 1.148 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.02156, allocations: 0 / 0.5364 GB, free: 1.148 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.02156, allocations: 9.266 kB / 0.5365 GB, free: 1.141 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003657/0.02193, allocations: 415.4 kB / 0.5369 GB, free: 0.707 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.103e-05/0.022, allocations: 51.77 kB / 0.5369 GB, free: 0.6562 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.805e-05/0.02203, allocations: 9.031 kB / 0.5369 GB, free: 0.6484 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.02214, allocations: 15.98 kB / 0.5369 GB, free: 0.6328 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.147e-05/0.02217, allocations: 13.12 kB / 0.5369 GB, free: 0.6211 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.02218, allocations: 8 kB / 0.5369 GB, free: 0.6133 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001176/0.0223, allocations: 196 kB / 0.5371 GB, free: 432 kB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.0223, allocations: 5.219 kB / 0.5371 GB, free: 428 kB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000359/0.02266, allocations: 92 kB / 0.5372 GB, free: 336 kB / 0.4948 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.0001741/0.02283, allocations: 104.9 kB / 0.5373 GB, free: 224 kB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005701/0.0234, allocations: 451.8 kB / 0.5378 GB, free: 15.76 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.02341, allocations: 0 / 0.5378 GB, free: 15.76 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 8.968e-05/0.0235, allocations: 80.53 kB / 0.5378 GB, free: 15.68 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/0.0238, allocations: 64.39 kB / 0.5379 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00117/0.02497, allocations: 0.7032 MB / 0.5386 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.415e-05/0.02505, allocations: 113 kB / 0.5387 GB, free: 14.82 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000131/0.02518, allocations: 61.08 kB / 0.5387 GB, free: 14.77 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.074e-05/0.02524, allocations: 20.5 kB / 0.5388 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of SimCode: time 1.172e-06/0.02524, allocations: 0 / 0.5388 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of Templates: time 0.006633/0.03187, allocations: 4.365 MB / 0.543 GB, free: 10.5 MB / 0.5105 GB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7428080891259015]