Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") translateModel(BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005322/0.005322, allocations: 101 kB / 15.73 MB, free: 6.438 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.001185/0.001185, allocations: 194.9 kB / 16.68 MB, free: 6.355 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.345/1.345, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002258/0.002258, allocations: 286.8 kB / 290.8 MB, free: 1.895 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9474/0.9474, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001816/0.001816, allocations: 91.86 kB / 0.6814 GB, free: 15.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1619, allocations: 86.98 MB / 0.7664 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.004043/0.166, allocations: 2.423 MB / 0.7687 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002314/0.1683, allocations: 1.414 MB / 0.7701 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000171/0.1685, allocations: 4 kB / 0.7701 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007192/0.1693, allocations: 175.2 kB / 0.7703 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003794/0.1697, allocations: 131.5 kB / 0.7704 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005002/0.1702, allocations: 183.5 kB / 0.7706 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003092/0.1705, allocations: 215.3 kB / 0.7708 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002856/0.1708, allocations: 129 kB / 0.7709 GB, free: 3.742 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001666/0.171, allocations: 87.69 kB / 0.771 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002478/0.1712, allocations: 99.64 kB / 0.7711 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.714e-05/0.1713, allocations: 12 kB / 0.7711 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003136/0.1716, allocations: 191.6 kB / 0.7713 GB, free: 3.359 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.819e-05/0.1717, allocations: 59.81 kB / 0.7714 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000103/0.1718, allocations: 79.59 kB / 0.7714 GB, free: 3.223 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000397/0.1722, allocations: 279.2 kB / 0.7717 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.483e-06/0.1722, allocations: 7.984 kB / 0.7717 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.024e-06/0.1722, allocations: 0 / 0.7717 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.265e-06/0.1722, allocations: 0 / 0.7717 GB, free: 2.941 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007015/0.1729, allocations: 471.1 kB / 0.7722 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.173, allocations: 8.031 kB / 0.7722 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005452/0.1735, allocations: 72.61 kB / 0.7722 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002583/0.1738, allocations: 228 kB / 0.7724 GB, free: 2.09 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.1738, allocations: 20.64 kB / 0.7725 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.971e-05/0.1739, allocations: 12.38 kB / 0.7725 GB, free: 2.059 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004031/0.1743, allocations: 280.2 kB / 0.7727 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.1743, allocations: 8 kB / 0.7728 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.433e-05/0.1743, allocations: 7.984 kB / 0.7728 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.548e-05/0.1744, allocations: 16.22 kB / 0.7728 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003173/0.1747, allocations: 216 kB / 0.773 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3285/0.5032, allocations: 1.557 MB / 0.7745 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004278/0.5037, allocations: 323.9 kB / 0.7748 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001158/0.5038, allocations: 65.19 kB / 0.7749 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/0.5039, allocations: 1.75 kB / 0.7749 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.644e-05/0.5039, allocations: 37.14 kB / 0.7749 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=9): time 2.094e-06/0.5039, allocations: 1.062 kB / 0.7749 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0006417/0.5045, allocations: 250.1 kB / 0.7752 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/0.5046, allocations: 80.67 kB / 0.7752 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002032/0.5048, allocations: 197.7 kB / 0.7754 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.5048, allocations: 26.48 kB / 0.7754 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.93e-05/0.5049, allocations: 159 kB / 0.7756 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.222e-05/0.5049, allocations: 37.89 kB / 0.7756 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.422e-05/0.505, allocations: 51.36 kB / 0.7757 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.122e-05/0.5051, allocations: 327.1 kB / 0.776 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.5052, allocations: 73.56 kB / 0.7761 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001439/0.5054, allocations: 156.1 kB / 0.7762 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002517/0.5056, allocations: 239.2 kB / 0.7764 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.5056, allocations: 4.844 kB / 0.7764 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000376/0.506, allocations: 253.5 kB / 0.7767 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.5061, allocations: 14.17 kB / 0.7767 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.5061, allocations: 3.031 kB / 0.7767 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.5061, allocations: 4.578 kB / 0.7767 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002294/0.5063, allocations: 50.53 kB / 0.7768 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.5063, allocations: 6.922 kB / 0.7768 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000151/0.5065, allocations: 18.41 kB / 0.7768 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.106e-05/0.5065, allocations: 13.02 kB / 0.7768 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001417/0.5067, allocations: 162.5 kB / 0.7769 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001183/0.5068, allocations: 149.2 kB / 0.7771 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001966/0.507, allocations: 213.3 kB / 0.7773 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.084e-06/0.507, allocations: 1.125 kB / 0.7773 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.000336/0.5074, allocations: 237 kB / 0.7775 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.5074, allocations: 14.89 kB / 0.7775 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.5074, allocations: 7.312 kB / 0.7775 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.568e-06/0.5074, allocations: 4.484 kB / 0.7775 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001698/0.5076, allocations: 43.72 kB / 0.7776 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.5076, allocations: 9 kB / 0.7776 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001236/0.5077, allocations: 11.95 kB / 0.7776 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.546e-05/0.5077, allocations: 9.547 kB / 0.7776 GB, free: 12.6 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.006e-05/0.5078, allocations: 198.7 kB / 0.7778 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.814e-05/0.5079, allocations: 20.72 kB / 0.7778 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002396/0.5081, allocations: 142.3 kB / 0.778 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.5081, allocations: 3.281 kB / 0.778 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.5082, allocations: 0 / 0.778 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.5082, allocations: 4.766 kB / 0.778 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008275/0.509, allocations: 0.7257 MB / 0.7787 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.509, allocations: 1.562 kB / 0.7787 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001075/0.5091, allocations: 26.86 kB / 0.7787 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.5091, allocations: 7.625 kB / 0.7787 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.5092, allocations: 3.797 kB / 0.7787 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.5092, allocations: 8.594 kB / 0.7787 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.5092, allocations: 6.25 kB / 0.7787 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002454/0.5094, allocations: 383.1 kB / 0.7791 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.311e-05/0.5095, allocations: 104.2 kB / 0.7792 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.216e-05/0.5095, allocations: 9.094 kB / 0.7792 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001622/0.5097, allocations: 8.875 kB / 0.7792 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.72e-05/0.5097, allocations: 21.45 kB / 0.7792 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.909e-06/0.5098, allocations: 9.641 kB / 0.7792 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000113/0.5099, allocations: 149.5 kB / 0.7794 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5099, allocations: 0 / 0.7794 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004965/0.5104, allocations: 67.75 kB / 0.7794 GB, free: 11.27 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001251/0.5105, allocations: 100.7 kB / 0.7795 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004154/0.5109, allocations: 277.6 kB / 0.7798 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.511, allocations: 1.219 kB / 0.7798 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.164e-05/0.511, allocations: 62.89 kB / 0.7799 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004857/0.5115, allocations: 42.92 kB / 0.7799 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006483/0.5122, allocations: 414.7 kB / 0.7803 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001855/0.5124, allocations: 0.7368 MB / 0.781 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001936/0.5126, allocations: 75.09 kB / 0.7811 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.121e-05/0.5126, allocations: 17.27 kB / 0.7811 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of SimCode: time 2.51e-07/0.5127, allocations: 4 kB / 0.7811 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of Templates: time 0.004405/0.5171, allocations: 1.79 MB / 0.7829 GB, free: 9.922 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1)