Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 118.4 kB / 17.1 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 189.6 kB / 18.02 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.286/1.286, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6888/0.6888, allocations: 115.3 MB / 407.2 MB, free: 6.102 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 67.55 kB / 0.5583 GB, free: 32.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1543, allocations: 76.18 MB / 0.6327 GB, free: 4.395 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource): time 0.005509/0.1599, allocations: 3.523 MB / 0.6362 GB, free: 0.8516 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003198/0.1631, allocations: 1.898 MB / 0.638 GB, free: 14.94 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002394/0.1634, allocations: 7.938 kB / 0.638 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009382/0.1643, allocations: 245.5 kB / 0.6383 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006419/0.165, allocations: 219 kB / 0.6385 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007041/0.1657, allocations: 251.3 kB / 0.6387 GB, free: 14.23 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005778/0.1663, allocations: 386.8 kB / 0.6391 GB, free: 13.86 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004225/0.1667, allocations: 209.8 kB / 0.6393 GB, free: 13.64 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003221/0.1671, allocations: 171.3 kB / 0.6395 GB, free: 13.48 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004126/0.1675, allocations: 175.4 kB / 0.6396 GB, free: 13.3 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.117e-05/0.1676, allocations: 28 kB / 0.6397 GB, free: 13.28 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005305/0.1681, allocations: 295.4 kB / 0.6399 GB, free: 12.99 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001276/0.1682, allocations: 99.7 kB / 0.64 GB, free: 12.89 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001894/0.1684, allocations: 139.3 kB / 0.6402 GB, free: 12.75 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007582/0.1692, allocations: 498.4 kB / 0.6406 GB, free: 12.27 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1692, allocations: 0 / 0.6406 GB, free: 12.27 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1692, allocations: 0 / 0.6406 GB, free: 12.27 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.33e-05/0.1693, allocations: 0 / 0.6406 GB, free: 12.27 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001395/0.1707, allocations: 0.6409 MB / 0.6413 GB, free: 11.57 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.1707, allocations: 8.031 kB / 0.6413 GB, free: 11.56 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009796/0.1717, allocations: 116.4 kB / 0.6414 GB, free: 11.45 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004033/0.1721, allocations: 287.6 kB / 0.6417 GB, free: 11.13 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.627e-05/0.1721, allocations: 20.81 kB / 0.6417 GB, free: 11.11 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.758e-05/0.1722, allocations: 20.38 kB / 0.6417 GB, free: 11.09 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008791/0.1731, allocations: 426.8 kB / 0.6421 GB, free: 10.64 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/0.1731, allocations: 7.906 kB / 0.6421 GB, free: 10.64 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.765e-05/0.1732, allocations: 8 kB / 0.6421 GB, free: 10.63 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.4e-05/0.1732, allocations: 24.36 kB / 0.6421 GB, free: 10.6 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000971/0.1742, allocations: 404.7 kB / 0.6425 GB, free: 10.21 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001955/0.1762, allocations: 1.619 MB / 0.6441 GB, free: 8.461 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001293/0.1775, allocations: 473.7 kB / 0.6446 GB, free: 7.98 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000451/0.1779, allocations: 197.6 kB / 0.6447 GB, free: 7.781 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001539/0.1781, allocations: 96.95 kB / 0.6448 GB, free: 7.668 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005982/0.1787, allocations: 272.2 kB / 0.6451 GB, free: 7.383 MB / 494.1 MB Notification: Performance of pre-optimization done (n=27): time 6.402e-06/0.1787, allocations: 3.984 kB / 0.6451 GB, free: 7.379 MB / 494.1 MB Notification: Performance of matching and sorting (n=28): time 0.002025/0.1807, allocations: 0.755 MB / 0.6458 GB, free: 6.598 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.867e-05/0.1808, allocations: 85.09 kB / 0.6459 GB, free: 6.496 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002218/0.181, allocations: 225 kB / 0.6461 GB, free: 6.27 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.06e-05/0.1811, allocations: 33.7 kB / 0.6462 GB, free: 6.23 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.1812, allocations: 172.4 kB / 0.6463 GB, free: 6.055 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.465e-05/0.1813, allocations: 90.66 kB / 0.6464 GB, free: 5.965 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001326/0.1814, allocations: 73.44 kB / 0.6465 GB, free: 5.887 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.1816, allocations: 330.8 kB / 0.6468 GB, free: 5.555 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004486/0.182, allocations: 173.1 kB / 0.647 GB, free: 5.383 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004935/0.1825, allocations: 253.3 kB / 0.6472 GB, free: 5.105 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009503/0.1835, allocations: 470.9 kB / 0.6477 GB, free: 4.609 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.1835, allocations: 0 / 0.6477 GB, free: 4.609 MB / 494.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001241/0.1848, allocations: 0.5474 MB / 0.6482 GB, free: 4.047 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.174e-05/0.1848, allocations: 33.98 kB / 0.6482 GB, free: 4.008 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.1848, allocations: 4 kB / 0.6482 GB, free: 4.004 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002341/0.1851, allocations: 40.81 kB / 0.6483 GB, free: 3.961 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004308/0.1855, allocations: 91.86 kB / 0.6484 GB, free: 3.871 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001527/0.187, allocations: 1.611 MB / 0.6499 GB, free: 2.117 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003706/0.1874, allocations: 47.83 kB / 0.65 GB, free: 2.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.181e-05/0.1875, allocations: 12.06 kB / 0.65 GB, free: 2.059 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005273/0.188, allocations: 284.3 kB / 0.6503 GB, free: 1.777 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004628/0.1885, allocations: 241.9 kB / 0.6505 GB, free: 1.508 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009165/0.1894, allocations: 452.6 kB / 0.6509 GB, free: 1.027 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.09e-06/0.1894, allocations: 4 kB / 0.6509 GB, free: 1.023 MB / 494.1 MB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.001177/0.1906, allocations: 0.5195 MB / 0.6514 GB, free: 500 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.138e-05/0.1907, allocations: 33.7 kB / 0.6515 GB, free: 460 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.1907, allocations: 0 / 0.6515 GB, free: 460 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001504/0.1908, allocations: 44.81 kB / 0.6515 GB, free: 412 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003912/0.1912, allocations: 88.14 kB / 0.6516 GB, free: 324 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001404/0.1926, allocations: 1.615 MB / 0.6532 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003533/0.193, allocations: 47.73 kB / 0.6532 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.066e-05/0.193, allocations: 16 kB / 0.6532 GB, free: 14.49 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 (load.count,$PRE.load.count,load.T_start,$PRE.load.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * 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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000178/0.1932, allocations: 196.8 kB / 0.6534 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.736e-05/0.1933, allocations: 35.72 kB / 0.6535 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001105/0.1944, allocations: 473.6 kB / 0.6539 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.1944, allocations: 3.984 kB / 0.6539 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1944, allocations: 0 / 0.6539 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002005/0.1946, allocations: 132.7 kB / 0.654 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.974e-05/0.1947, allocations: 4.094 kB / 0.654 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003427/0.195, allocations: 47.92 kB / 0.6541 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/0.1952, allocations: 31.95 kB / 0.6541 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001264/0.1964, allocations: 0.6181 MB / 0.6547 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00139/0.1978, allocations: 0.8418 MB / 0.6555 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003877/0.1982, allocations: 179.9 kB / 0.6557 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002279/0.1985, allocations: 180.5 kB / 0.6559 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of Backend: time 3.71e-07/0.1985, allocations: 3.938 kB / 0.6559 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002551/0.2011, allocations: 1.059 MB / 0.6569 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of SimCode: time 0.001207/0.2023, allocations: 0.9492 MB / 0.6579 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of Templates: time 0.01449/0.2168, allocations: 7.844 MB / 0.6655 GB, free: 1.777 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe 2>&1)