Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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.0009911/0.0009911, allocations: 88.22 kB / 19.64 MB, free: 276 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.001635/0.001635, allocations: 169 kB / 23.02 MB, free: 1.543 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.9799/0.9799, allocations: 177.1 MB / 203.4 MB, free: 5.617 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.8563/0.8563, allocations: 154.6 MB / 414.5 MB, free: 0.6797 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.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") translateModel(IDEAS.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.5203 GB, free: 2.211 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.462e-05/1.619e-05, allocations: 5.688 kB / 0.5203 GB, free: 2.207 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.003598/0.003614, allocations: 3.257 MB / 0.5235 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001704/0.005318, allocations: 1.192 MB / 0.5247 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001834/0.005501, allocations: 27.75 kB / 0.5247 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004648/0.005966, allocations: 132 kB / 0.5248 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0004208/0.006387, allocations: 281.8 kB / 0.5251 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003331/0.00672, allocations: 220.8 kB / 0.5253 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0006431/0.007363, allocations: 0.7079 MB / 0.526 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003491/0.007712, allocations: 237.6 kB / 0.5262 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004352/0.008147, allocations: 374.9 kB / 0.5266 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000279/0.008426, allocations: 241.1 kB / 0.5268 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.034e-05/0.008466, allocations: 28 kB / 0.5268 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001594/0.008626, allocations: 91.86 kB / 0.5269 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001159/0.008742, allocations: 155.5 kB / 0.5271 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001268/0.008868, allocations: 163.5 kB / 0.5272 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004375/0.009306, allocations: 416.1 kB / 0.5276 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.255e-06/0.009308, allocations: 0 / 0.5276 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.71e-07/0.009309, allocations: 0 / 0.5276 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.009315, allocations: 0 / 0.5276 GB, free: 10.73 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.0007616/0.01008, allocations: 0.774 MB / 0.5284 GB, free: 9.926 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.01011, allocations: 8.031 kB / 0.5284 GB, free: 9.918 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007975/0.01091, allocations: 269 kB / 0.5286 GB, free: 9.656 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007224/0.01163, allocations: 393.6 kB / 0.529 GB, free: 9.254 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.01165, allocations: 29.36 kB / 0.529 GB, free: 9.223 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.895e-05/0.0117, allocations: 33.72 kB / 0.5291 GB, free: 9.191 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004953/0.0122, allocations: 0.6137 MB / 0.5297 GB, free: 8.445 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.01221, allocations: 4.188 kB / 0.5297 GB, free: 8.441 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.937e-05/0.01224, allocations: 21.92 kB / 0.5297 GB, free: 8.422 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.773e-05/0.0123, allocations: 55.84 kB / 0.5297 GB, free: 8.367 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003104/0.01261, allocations: 248.9 kB / 0.53 GB, free: 8.129 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001975/0.01459, allocations: 4.259 MB / 0.5341 GB, free: 3.707 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008635/0.01545, allocations: 0.5164 MB / 0.5346 GB, free: 3.152 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.574e-05/0.01555, allocations: 78.97 kB / 0.5347 GB, free: 3.062 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.01557, allocations: 10.22 kB / 0.5347 GB, free: 3.055 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.01559, allocations: 45.39 kB / 0.5348 GB, free: 3 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=30): time 1.423e-06/0.01559, allocations: 0 / 0.5348 GB, free: 3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=33): time 0.001083/0.01668, allocations: 0.6959 MB / 0.5355 GB, free: 2.285 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/0.01672, allocations: 112 kB / 0.5356 GB, free: 2.152 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005077/0.01722, allocations: 418.5 kB / 0.536 GB, free: 1.727 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.01724, allocations: 29.7 kB / 0.536 GB, free: 1.691 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/0.01737, allocations: 339.8 kB / 0.5363 GB, free: 1.355 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.329e-05/0.01744, allocations: 123 kB / 0.5364 GB, free: 1.234 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.805e-05/0.01752, allocations: 100.9 kB / 0.5365 GB, free: 1.129 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.01765, allocations: 0.5274 MB / 0.537 GB, free: 0.5898 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.01775, allocations: 77.27 kB / 0.5371 GB, free: 0.5156 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002242/0.01797, allocations: 369.6 kB / 0.5375 GB, free: 32 kB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000373/0.01835, allocations: 498.3 kB / 0.5379 GB, free: 15.43 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.01835, allocations: 4.562 kB / 0.5379 GB, free: 15.42 MB / 0.5105 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0005432/0.01889, allocations: 0.5043 MB / 0.5384 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.01891, allocations: 8 kB / 0.5384 GB, free: 14.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.01892, allocations: 8 kB / 0.5385 GB, free: 14.89 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002251/0.01914, allocations: 89.56 kB / 0.5385 GB, free: 14.79 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002046/0.01935, allocations: 107.8 kB / 0.5386 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002311/0.02166, allocations: 5.242 MB / 0.5438 GB, free: 9.082 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001664/0.02182, allocations: 35.97 kB / 0.5438 GB, free: 9.047 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.885e-05/0.02185, allocations: 24 kB / 0.5438 GB, free: 9.023 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * 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,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001169/0.02197, allocations: 190.3 kB / 0.544 GB, free: 8.828 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.317e-05/0.02204, allocations: 59.72 kB / 0.5441 GB, free: 8.77 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003865/0.02243, allocations: 338.5 kB / 0.5444 GB, free: 8.418 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.02243, allocations: 4 kB / 0.5444 GB, free: 8.414 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.02243, allocations: 6.531 kB / 0.5444 GB, free: 8.41 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.02244, allocations: 3.984 kB / 0.5444 GB, free: 8.406 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008848/0.02332, allocations: 1.08 MB / 0.5455 GB, free: 7.238 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.02333, allocations: 4 kB / 0.5455 GB, free: 7.234 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001211/0.02345, allocations: 59.91 kB / 0.5455 GB, free: 7.176 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001496/0.0236, allocations: 75.84 kB / 0.5456 GB, free: 7.09 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.02361, allocations: 14.59 kB / 0.5456 GB, free: 7.078 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002117/0.02573, allocations: 5.242 MB / 0.5507 GB, free: 1.473 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.02573, allocations: 3.938 kB / 0.5507 GB, free: 1.469 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004724/0.0262, allocations: 0.7665 MB / 0.5515 GB, free: 0.6289 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 8.67e-05/0.02629, allocations: 75.67 kB / 0.5515 GB, free: 0.5547 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.483e-05/0.02632, allocations: 12.8 kB / 0.5516 GB, free: 0.543 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001533/0.02647, allocations: 23.97 kB / 0.5516 GB, free: 0.5195 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/0.02651, allocations: 46.64 kB / 0.5516 GB, free: 488 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/0.02653, allocations: 8 kB / 0.5516 GB, free: 480 kB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001438/0.02667, allocations: 271.1 kB / 0.5519 GB, free: 216 kB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.02667, allocations: 0 / 0.5519 GB, free: 216 kB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004079/0.02708, allocations: 132 kB / 0.552 GB, free: 84 kB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 simulation (33): * Single equations (assignments): 30 * 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,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001023/0.02718, allocations: 105 kB / 0.5521 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0006693/0.02785, allocations: 0.7924 MB / 0.5529 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.02785, allocations: 0 / 0.5529 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003376/0.02819, allocations: 0.6362 MB / 0.5535 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005344/0.02872, allocations: 132.6 kB / 0.5536 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/0.02979, allocations: 0.8632 MB / 0.5545 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.023e-05/0.02988, allocations: 145.7 kB / 0.5546 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001485/0.03003, allocations: 82.25 kB / 0.5547 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.843e-05/0.0301, allocations: 37.22 kB / 0.5547 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of SimCode: time 7.61e-07/0.0301, allocations: 0 / 0.5547 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of Templates: time 0.007976/0.03807, allocations: 5.924 MB / 0.5605 GB, free: 7.406 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.1582195982337]