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.0008597/0.0008599, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000826/0.000826, allocations: 175.1 kB / 16.58 MB, free: 6.504 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.431/1.431, allocations: 223.3 MB / 240.6 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7239/0.7239, allocations: 115.5 MB / 407.2 MB, free: 2.855 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003405/0.0003405, allocations: 16.78 kB / 495.2 MB, free: 6.703 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1419, allocations: 77.52 MB / 0.5593 GB, free: 9.387 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource): time 0.002997/0.1449, allocations: 2.6 MB / 0.5619 GB, free: 6.773 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002225/0.1471, allocations: 1.618 MB / 0.5635 GB, free: 5.148 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.9e-05/0.1472, allocations: 4 kB / 0.5635 GB, free: 5.145 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001537/0.1474, allocations: 31.72 kB / 0.5635 GB, free: 5.113 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003742/0.1478, allocations: 151.2 kB / 0.5636 GB, free: 4.965 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004511/0.1482, allocations: 195.5 kB / 0.5638 GB, free: 4.773 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004076/0.1487, allocations: 410.7 kB / 0.5642 GB, free: 4.371 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007018/0.1494, allocations: 382.5 kB / 0.5646 GB, free: 3.977 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001846/0.1496, allocations: 127.5 kB / 0.5647 GB, free: 3.852 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002726/0.1499, allocations: 167.4 kB / 0.5649 GB, free: 3.688 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.499e-05/0.1499, allocations: 12 kB / 0.5649 GB, free: 3.676 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002468/0.1502, allocations: 143.8 kB / 0.565 GB, free: 3.535 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.522e-05/0.1503, allocations: 75.78 kB / 0.5651 GB, free: 3.461 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.4e-05/0.1503, allocations: 73.52 kB / 0.5651 GB, free: 3.383 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003433/0.1507, allocations: 351.3 kB / 0.5655 GB, free: 3.039 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1507, allocations: 0 / 0.5655 GB, free: 3.039 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1507, allocations: 0 / 0.5655 GB, free: 3.039 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.1507, allocations: 7.938 kB / 0.5655 GB, free: 3.031 MB / 430.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.0009873/0.1517, allocations: 0.5941 MB / 0.5661 GB, free: 2.383 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.1517, allocations: 16.03 kB / 0.5661 GB, free: 2.367 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006659/0.1524, allocations: 95.59 kB / 0.5662 GB, free: 2.273 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003076/0.1527, allocations: 271.8 kB / 0.5664 GB, free: 1.969 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.517e-05/0.1528, allocations: 24.41 kB / 0.5665 GB, free: 1.945 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.708e-05/0.1528, allocations: 16 kB / 0.5665 GB, free: 1.93 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007343/0.1536, allocations: 422.6 kB / 0.5669 GB, free: 1.492 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.1536, allocations: 7.891 kB / 0.5669 GB, free: 1.484 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.39e-05/0.1536, allocations: 12 kB / 0.5669 GB, free: 1.473 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.17e-05/0.1537, allocations: 24.36 kB / 0.5669 GB, free: 1.445 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008454/0.1545, allocations: 416.8 kB / 0.5673 GB, free: 1.039 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001658/0.1562, allocations: 1.615 MB / 0.5689 GB, free: 15.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/0.1573, allocations: 484.1 kB / 0.5694 GB, free: 14.81 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004074/0.1577, allocations: 205.6 kB / 0.5695 GB, free: 14.6 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001337/0.1579, allocations: 93.08 kB / 0.5696 GB, free: 14.49 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005218/0.1584, allocations: 279.4 kB / 0.5699 GB, free: 14.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=27): time 1.613e-06/0.1584, allocations: 0 / 0.5699 GB, free: 14.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=28): time 0.001794/0.1602, allocations: 0.7844 MB / 0.5707 GB, free: 13.39 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/0.1603, allocations: 85.09 kB / 0.5708 GB, free: 13.29 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000199/0.1605, allocations: 217 kB / 0.571 GB, free: 13.06 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.152e-05/0.1605, allocations: 33.7 kB / 0.571 GB, free: 13.02 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.1606, allocations: 172.2 kB / 0.5712 GB, free: 12.85 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.388e-05/0.1607, allocations: 90.73 kB / 0.5712 GB, free: 12.76 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.306e-05/0.1607, allocations: 8 kB / 0.5712 GB, free: 12.75 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.1608, allocations: 334.8 kB / 0.5716 GB, free: 12.42 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003977/0.1613, allocations: 180.2 kB / 0.5717 GB, free: 12.24 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004269/0.1617, allocations: 265.8 kB / 0.572 GB, free: 11.95 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004359/0.1621, allocations: 225.8 kB / 0.5722 GB, free: 11.73 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1621, allocations: 0 / 0.5722 GB, free: 11.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001088/0.1632, allocations: 0.5571 MB / 0.5728 GB, free: 11.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001095/0.1634, allocations: 193.8 kB / 0.5729 GB, free: 10.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.1634, allocations: 0 / 0.5729 GB, free: 10.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002161/0.1636, allocations: 44.86 kB / 0.573 GB, free: 10.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004086/0.164, allocations: 91.86 kB / 0.5731 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001354/0.1654, allocations: 1.497 MB / 0.5745 GB, free: 9.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003078/0.1657, allocations: 51.83 kB / 0.5746 GB, free: 9.109 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.259e-05/0.1657, allocations: 16.06 kB / 0.5746 GB, free: 9.094 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.851e-06/0.1658, allocations: 11.94 kB / 0.5746 GB, free: 9.082 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009954/0.1668, allocations: 0.4988 MB / 0.5751 GB, free: 8.574 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1668, allocations: 4 kB / 0.5751 GB, free: 8.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001224/0.1669, allocations: 45.03 kB / 0.5751 GB, free: 8.523 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003534/0.1673, allocations: 83.88 kB / 0.5752 GB, free: 8.441 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001119/0.1684, allocations: 1.489 MB / 0.5767 GB, free: 6.812 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002757/0.1687, allocations: 47.84 kB / 0.5767 GB, free: 6.766 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.884e-05/0.1687, allocations: 15.98 kB / 0.5767 GB, free: 6.75 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.load.T_start,load.T_start,$PRE.load.count,load.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001993/0.1689, allocations: 242.1 kB / 0.577 GB, free: 6.504 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.42e-05/0.169, allocations: 27.67 kB / 0.577 GB, free: 6.477 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001023/0.17, allocations: 494.1 kB / 0.5775 GB, free: 5.984 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.17, allocations: 4 kB / 0.5775 GB, free: 5.98 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.17, allocations: 0 / 0.5775 GB, free: 5.98 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.391e-06/0.1701, allocations: 3.984 kB / 0.5775 GB, free: 5.977 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005988/0.1707, allocations: 0.5584 MB / 0.578 GB, free: 5.355 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.1707, allocations: 64 / 0.578 GB, free: 5.355 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003668/0.171, allocations: 91.95 kB / 0.5781 GB, free: 5.266 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001129/0.1712, allocations: 32.83 kB / 0.5781 GB, free: 5.23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.582e-05/0.1712, allocations: 11.98 kB / 0.5781 GB, free: 5.219 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001028/0.1722, allocations: 1.417 MB / 0.5795 GB, free: 3.668 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.1723, allocations: 7.938 kB / 0.5795 GB, free: 3.66 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009422/0.1732, allocations: 0.5576 MB / 0.5801 GB, free: 3.074 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000127/0.1733, allocations: 132.7 kB / 0.5802 GB, free: 2.926 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.462e-05/0.1734, allocations: 11.95 kB / 0.5802 GB, free: 2.914 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002926/0.1737, allocations: 43.95 kB / 0.5803 GB, free: 2.871 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.623e-05/0.1738, allocations: 35.89 kB / 0.5803 GB, free: 2.836 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.328e-05/0.1738, allocations: 8 kB / 0.5803 GB, free: 2.828 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001478/0.174, allocations: 172.5 kB / 0.5805 GB, free: 2.66 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.174, allocations: 0 / 0.5805 GB, free: 2.66 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005682/0.1746, allocations: 132 kB / 0.5806 GB, free: 2.531 MB / 446.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001734/0.1747, allocations: 115.2 kB / 0.5807 GB, free: 2.406 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001732/0.1765, allocations: 1.005 MB / 0.5817 GB, free: 1.352 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.1765, allocations: 4 kB / 0.5817 GB, free: 1.348 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000574/0.1771, allocations: 338.8 kB / 0.582 GB, free: 1.004 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004292/0.1775, allocations: 54.47 kB / 0.5821 GB, free: 0.9531 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.1786, allocations: 0.7412 MB / 0.5828 GB, free: 184 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2772/0.4558, allocations: 0.7756 MB / 0.5835 GB, free: 29.71 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000464/0.4563, allocations: 95.45 kB / 0.5836 GB, free: 29.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.4565, allocations: 27.34 kB / 0.5837 GB, free: 29.69 MB / 446.1 MB Notification: Performance of SimCode: time 1.783e-06/0.4565, allocations: 0 / 0.5837 GB, free: 29.69 MB / 446.1 MB Notification: Performance of Templates: time 0.01165/0.4681, allocations: 4.032 MB / 0.5876 GB, free: 29.61 MB / 446.1 MB 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)