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.001304/0.001304, allocations: 119.5 kB / 17.09 MB, free: 6.012 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.001271/0.001271, allocations: 192.7 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.279/1.279, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6903/0.6903, allocations: 115.3 MB / 407.2 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 68.8 kB / 0.5583 GB, free: 32.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1363, allocations: 76.18 MB / 0.6327 GB, free: 4.422 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource): time 0.004198/0.1405, allocations: 3.012 MB / 0.6357 GB, free: 1.395 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002858/0.1434, allocations: 1.905 MB / 0.6375 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001273/0.1436, allocations: 4 kB / 0.6375 GB, free: 15.47 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007587/0.1443, allocations: 235 kB / 0.6378 GB, free: 15.24 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004242/0.1448, allocations: 226.9 kB / 0.638 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000517/0.1453, allocations: 251.3 kB / 0.6382 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003736/0.1457, allocations: 386.8 kB / 0.6386 GB, free: 14.39 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003734/0.1461, allocations: 210.5 kB / 0.6388 GB, free: 14.18 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002242/0.1463, allocations: 163.4 kB / 0.6389 GB, free: 14.02 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003025/0.1466, allocations: 175.4 kB / 0.6391 GB, free: 13.85 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.079e-05/0.1467, allocations: 28 kB / 0.6391 GB, free: 13.82 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003828/0.147, allocations: 287.5 kB / 0.6394 GB, free: 13.54 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.1472, allocations: 99.66 kB / 0.6395 GB, free: 13.45 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000159/0.1473, allocations: 151.2 kB / 0.6396 GB, free: 13.3 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005089/0.1478, allocations: 490.5 kB / 0.6401 GB, free: 12.82 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.1479, allocations: 4 kB / 0.6401 GB, free: 12.81 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1479, allocations: 0 / 0.6401 GB, free: 12.81 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.1479, allocations: 0 / 0.6401 GB, free: 12.81 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.001128/0.149, allocations: 0.6409 MB / 0.6407 GB, free: 12.12 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.149, allocations: 8.031 kB / 0.6408 GB, free: 12.11 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000884/0.1499, allocations: 116.4 kB / 0.6409 GB, free: 12 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003194/0.1503, allocations: 283.7 kB / 0.6411 GB, free: 11.68 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.1503, allocations: 24.78 kB / 0.6412 GB, free: 11.66 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.189e-05/0.1504, allocations: 20.38 kB / 0.6412 GB, free: 11.64 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00077/0.1511, allocations: 426.8 kB / 0.6416 GB, free: 11.19 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.1512, allocations: 0 / 0.6416 GB, free: 11.19 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.748e-05/0.1512, allocations: 12 kB / 0.6416 GB, free: 11.18 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.006e-05/0.1512, allocations: 28.28 kB / 0.6416 GB, free: 11.15 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009105/0.1522, allocations: 400.8 kB / 0.642 GB, free: 10.76 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001705/0.1539, allocations: 1.623 MB / 0.6436 GB, free: 9.008 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001312/0.1552, allocations: 477 kB / 0.644 GB, free: 8.523 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004483/0.1557, allocations: 197.6 kB / 0.6442 GB, free: 8.324 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001461/0.1558, allocations: 100.9 kB / 0.6443 GB, free: 8.207 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005615/0.1564, allocations: 268.1 kB / 0.6446 GB, free: 7.926 MB / 494.1 MB Notification: Performance of pre-optimization done (n=27): time 1.413e-06/0.1564, allocations: 0 / 0.6446 GB, free: 7.926 MB / 494.1 MB Notification: Performance of matching and sorting (n=28): time 0.001923/0.1583, allocations: 0.7627 MB / 0.6453 GB, free: 7.137 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.466e-05/0.1584, allocations: 85.11 kB / 0.6454 GB, free: 7.035 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002271/0.1586, allocations: 221 kB / 0.6456 GB, free: 6.812 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.717e-05/0.1587, allocations: 33.7 kB / 0.6457 GB, free: 6.773 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.1588, allocations: 168.3 kB / 0.6458 GB, free: 6.602 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.207e-05/0.1589, allocations: 90.73 kB / 0.6459 GB, free: 6.512 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001204/0.159, allocations: 73.34 kB / 0.646 GB, free: 6.434 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.1591, allocations: 338.8 kB / 0.6463 GB, free: 6.094 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004367/0.1596, allocations: 177 kB / 0.6465 GB, free: 5.918 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004707/0.16, allocations: 245.3 kB / 0.6467 GB, free: 5.648 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000923/0.161, allocations: 474.8 kB / 0.6471 GB, free: 5.148 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.161, allocations: 0 / 0.6471 GB, free: 5.148 MB / 494.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001184/0.1622, allocations: 0.5435 MB / 0.6477 GB, free: 4.59 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.632e-05/0.1622, allocations: 33.7 kB / 0.6477 GB, free: 4.551 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.1622, allocations: 4 kB / 0.6477 GB, free: 4.547 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00022/0.1625, allocations: 45.09 kB / 0.6478 GB, free: 4.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004126/0.1629, allocations: 91.8 kB / 0.6478 GB, free: 4.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001492/0.1644, allocations: 1.603 MB / 0.6494 GB, free: 2.664 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003395/0.1647, allocations: 51.81 kB / 0.6495 GB, free: 2.613 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.96e-05/0.1648, allocations: 12 kB / 0.6495 GB, free: 2.602 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005089/0.1653, allocations: 284.4 kB / 0.6497 GB, free: 2.32 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004579/0.1658, allocations: 245.9 kB / 0.65 GB, free: 2.047 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008405/0.1666, allocations: 436.7 kB / 0.6504 GB, free: 1.582 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.896e-06/0.1666, allocations: 8 kB / 0.6504 GB, free: 1.574 MB / 494.1 MB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.001106/0.1677, allocations: 0.5293 MB / 0.6509 GB, free: 1.031 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/0.1678, allocations: 35.11 kB / 0.651 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.715e-06/0.1678, allocations: 0 / 0.651 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001304/0.1679, allocations: 44.77 kB / 0.651 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003689/0.1683, allocations: 79.86 kB / 0.6511 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001304/0.1696, allocations: 1.623 MB / 0.6527 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003156/0.1699, allocations: 47.86 kB / 0.6527 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.695e-05/0.17, allocations: 16 kB / 0.6527 GB, free: 15.03 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.0001498/0.1701, allocations: 200.8 kB / 0.6529 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.779e-05/0.1702, allocations: 23.72 kB / 0.6529 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001073/0.1713, allocations: 477.6 kB / 0.6534 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.1713, allocations: 8 kB / 0.6534 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.1713, allocations: 0 / 0.6534 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.1713, allocations: 0 / 0.6534 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006127/0.1719, allocations: 0.5777 MB / 0.654 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1719, allocations: 0 / 0.654 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003627/0.1723, allocations: 71.92 kB / 0.654 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001105/0.1724, allocations: 40.91 kB / 0.6541 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.415e-05/0.1725, allocations: 8 kB / 0.6541 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001102/0.1736, allocations: 1.515 MB / 0.6556 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/0.1736, allocations: 7.969 kB / 0.6556 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009338/0.1745, allocations: 0.5419 MB / 0.6561 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001267/0.1747, allocations: 128.7 kB / 0.6562 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.685e-05/0.1747, allocations: 11.98 kB / 0.6562 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003275/0.1751, allocations: 35.95 kB / 0.6563 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.829e-05/0.1752, allocations: 39.91 kB / 0.6563 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.302e-05/0.1752, allocations: 11.92 kB / 0.6563 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002082/0.1754, allocations: 180.5 kB / 0.6565 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1754, allocations: 0 / 0.6565 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005508/0.176, allocations: 132 kB / 0.6566 GB, free: 10.78 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.0001616/0.1761, allocations: 111.2 kB / 0.6567 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001884/0.178, allocations: 0.9928 MB / 0.6577 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.178, allocations: 0 / 0.6577 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005689/0.1786, allocations: 330.8 kB / 0.658 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004219/0.1791, allocations: 52.56 kB / 0.658 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.1802, allocations: 0.6477 MB / 0.6587 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003677/0.1806, allocations: 0.7878 MB / 0.6595 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001264/0.1808, allocations: 31.42 kB / 0.6595 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of SimCode: time 1.91e-07/0.1808, allocations: 0 / 0.6595 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of Templates: time 0.007936/0.1887, allocations: 5.268 MB / 0.6646 GB, free: 2.438 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)