Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.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.OnePhase.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") translateModel(IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 116.1 kB / 17.08 MB, free: 5.832 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.001247/0.001247, allocations: 193.8 kB / 18.02 MB, free: 4.965 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.33/1.33, 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.6997/0.6997, allocations: 115.3 MB / 407.2 MB, free: 6.207 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002252/0.002252, allocations: 64.08 kB / 0.5583 GB, free: 32.22 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.142, allocations: 76.18 MB / 0.6327 GB, free: 4.434 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource): time 0.004117/0.1462, allocations: 3.007 MB / 0.6357 GB, free: 1.41 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002909/0.1491, allocations: 1.909 MB / 0.6375 GB, free: 15.49 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001579/0.1493, allocations: 4 kB / 0.6375 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008087/0.1501, allocations: 238.9 kB / 0.6378 GB, free: 15.25 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005192/0.1507, allocations: 226.9 kB / 0.638 GB, free: 15.03 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006202/0.1513, allocations: 247.3 kB / 0.6382 GB, free: 14.79 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004829/0.1518, allocations: 382.8 kB / 0.6386 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004015/0.1522, allocations: 217.8 kB / 0.6388 GB, free: 14.19 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002701/0.1525, allocations: 159.4 kB / 0.6389 GB, free: 14.04 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003474/0.1528, allocations: 183.4 kB / 0.6391 GB, free: 13.86 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.96e-05/0.1529, allocations: 24 kB / 0.6391 GB, free: 13.83 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004672/0.1534, allocations: 291.4 kB / 0.6394 GB, free: 13.55 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001106/0.1535, allocations: 91.78 kB / 0.6395 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001422/0.1536, allocations: 151.2 kB / 0.6396 GB, free: 13.31 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005887/0.1542, allocations: 494.5 kB / 0.6401 GB, free: 12.82 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1543, allocations: 3.938 kB / 0.6401 GB, free: 12.82 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1543, allocations: 0 / 0.6401 GB, free: 12.82 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.1543, allocations: 4 kB / 0.6401 GB, free: 12.82 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.001225/0.1555, allocations: 0.6331 MB / 0.6407 GB, free: 12.13 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.1556, allocations: 16.03 kB / 0.6408 GB, free: 12.11 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009822/0.1565, allocations: 116.4 kB / 0.6409 GB, free: 12 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003612/0.1569, allocations: 283.7 kB / 0.6411 GB, free: 11.68 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/0.157, allocations: 16.81 kB / 0.6412 GB, free: 11.67 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.528e-05/0.157, allocations: 20.38 kB / 0.6412 GB, free: 11.65 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008247/0.1578, allocations: 426.8 kB / 0.6416 GB, free: 11.2 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.1579, allocations: 4 kB / 0.6416 GB, free: 11.2 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.457e-05/0.1579, allocations: 8 kB / 0.6416 GB, free: 11.19 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-05/0.158, allocations: 28.36 kB / 0.6416 GB, free: 11.16 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009524/0.1589, allocations: 404.7 kB / 0.642 GB, free: 10.77 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001797/0.1607, allocations: 1.623 MB / 0.6436 GB, free: 9.016 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001259/0.162, allocations: 473.7 kB / 0.644 GB, free: 8.535 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000455/0.1625, allocations: 201.6 kB / 0.6442 GB, free: 8.332 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001328/0.1626, allocations: 92.95 kB / 0.6443 GB, free: 8.223 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005809/0.1632, allocations: 276.1 kB / 0.6446 GB, free: 7.934 MB / 494.1 MB Notification: Performance of pre-optimization done (n=27): time 1.753e-06/0.1632, allocations: 0 / 0.6446 GB, free: 7.934 MB / 494.1 MB Notification: Performance of matching and sorting (n=28): time 0.00197/0.1652, allocations: 0.7589 MB / 0.6453 GB, free: 7.148 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/0.1653, allocations: 81.11 kB / 0.6454 GB, free: 7.051 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002144/0.1655, allocations: 225 kB / 0.6456 GB, free: 6.824 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.545e-05/0.1655, allocations: 33.64 kB / 0.6457 GB, free: 6.785 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.1656, allocations: 176.4 kB / 0.6458 GB, free: 6.605 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.148e-05/0.1657, allocations: 90.75 kB / 0.6459 GB, free: 6.516 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/0.1659, allocations: 69.34 kB / 0.646 GB, free: 6.441 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.166, allocations: 338.8 kB / 0.6463 GB, free: 6.102 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004515/0.1664, allocations: 173.1 kB / 0.6465 GB, free: 5.93 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004848/0.1669, allocations: 249.3 kB / 0.6467 GB, free: 5.656 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009536/0.1679, allocations: 466.9 kB / 0.6471 GB, free: 5.164 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1679, allocations: 4 kB / 0.6471 GB, free: 5.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001243/0.1692, allocations: 0.5474 MB / 0.6477 GB, free: 4.598 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.455e-05/0.1692, allocations: 29.7 kB / 0.6477 GB, free: 4.562 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.1692, allocations: 8.266 kB / 0.6477 GB, free: 4.555 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00023/0.1695, allocations: 40.83 kB / 0.6478 GB, free: 4.512 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000439/0.1699, allocations: 91.8 kB / 0.6478 GB, free: 4.422 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001374/0.1713, allocations: 1.607 MB / 0.6494 GB, free: 2.672 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003736/0.1717, allocations: 51.8 kB / 0.6495 GB, free: 2.621 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.109e-05/0.1717, allocations: 8 kB / 0.6495 GB, free: 2.613 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005354/0.1723, allocations: 284.4 kB / 0.6497 GB, free: 2.332 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004616/0.1727, allocations: 245.9 kB / 0.65 GB, free: 2.059 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008791/0.1736, allocations: 453 kB / 0.6504 GB, free: 1.578 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.455e-06/0.1736, allocations: 0 / 0.6504 GB, free: 1.578 MB / 494.1 MB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.001174/0.1748, allocations: 0.515 MB / 0.6509 GB, free: 1.047 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.257e-05/0.1749, allocations: 33.7 kB / 0.6509 GB, free: 1.008 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1749, allocations: 4 kB / 0.6509 GB, free: 1.004 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001489/0.175, allocations: 44.75 kB / 0.651 GB, free: 0.957 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003944/0.1754, allocations: 88.14 kB / 0.6511 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001305/0.1767, allocations: 1.619 MB / 0.6527 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000345/0.1771, allocations: 43.8 kB / 0.6527 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.017e-05/0.1771, allocations: 16 kB / 0.6527 GB, free: 15.04 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.0001534/0.1773, allocations: 196.8 kB / 0.6529 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.514e-05/0.1774, allocations: 23.72 kB / 0.6529 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001108/0.1785, allocations: 481.7 kB / 0.6534 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.1785, allocations: 4 kB / 0.6534 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1785, allocations: 3.984 kB / 0.6534 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.1785, allocations: 0 / 0.6534 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006488/0.1792, allocations: 0.5777 MB / 0.654 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.1792, allocations: 0 / 0.654 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003738/0.1796, allocations: 72.02 kB / 0.654 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000126/0.1797, allocations: 40.86 kB / 0.6541 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.68e-05/0.1797, allocations: 4.062 kB / 0.6541 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001115/0.1809, allocations: 1.523 MB / 0.6556 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.1809, allocations: 0 / 0.6556 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009846/0.1819, allocations: 0.5458 MB / 0.6561 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001289/0.182, allocations: 132.7 kB / 0.6562 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.957e-05/0.1821, allocations: 8 kB / 0.6562 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003522/0.1824, allocations: 35.95 kB / 0.6563 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.778e-05/0.1825, allocations: 43.83 kB / 0.6563 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.208e-05/0.1826, allocations: 4 kB / 0.6563 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002086/0.1828, allocations: 180.5 kB / 0.6565 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1828, allocations: 0 / 0.6565 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005839/0.1834, allocations: 132 kB / 0.6566 GB, free: 10.79 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,load.T_start,load.count) * Number of discrete states: 1 (load.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 Backend phase and start with SimCode phase: time 0.00016/0.1835, allocations: 111.2 kB / 0.6567 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001983/0.1855, allocations: 0.9931 MB / 0.6577 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.1855, allocations: 0.8125 kB / 0.6577 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005983/0.1862, allocations: 326.5 kB / 0.658 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004477/0.1866, allocations: 61.09 kB / 0.658 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/0.1878, allocations: 0.6525 MB / 0.6587 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003279/0.1881, allocations: 0.7878 MB / 0.6595 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001316/0.1882, allocations: 27.44 kB / 0.6595 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of SimCode: time 3.51e-07/0.1882, allocations: 0 / 0.6595 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of Templates: time 0.007638/0.1959, allocations: 5.274 MB / 0.6646 GB, free: 2.445 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe 2>&1)