Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") translateModel(IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001065/0.001065, allocations: 101.2 kB / 16.27 MB, free: 5.969 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.001066/0.001066, allocations: 192 kB / 17.2 MB, free: 5.598 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.37/1.37, allocations: 222.9 MB / 240.9 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7889/0.7889, allocations: 122.9 MB / 413.9 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 59.91 kB / 0.4911 GB, free: 7.391 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.472/0.4735, allocations: 77.92 MB / 0.5672 GB, free: 32.83 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.003721/0.4772, allocations: 2.408 MB / 0.5696 GB, free: 31.2 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002352/0.4796, allocations: 1.572 MB / 0.5711 GB, free: 30.14 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001102/0.4797, allocations: 7.281 kB / 0.5711 GB, free: 30.14 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006759/0.4804, allocations: 180.9 kB / 0.5713 GB, free: 30.04 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003891/0.4808, allocations: 154.3 kB / 0.5714 GB, free: 29.95 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004743/0.4813, allocations: 181.6 kB / 0.5716 GB, free: 29.87 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002465/0.4816, allocations: 217.4 kB / 0.5718 GB, free: 29.78 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002783/0.4819, allocations: 121.7 kB / 0.5719 GB, free: 29.73 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001337/0.482, allocations: 90.2 kB / 0.572 GB, free: 29.7 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002201/0.4822, allocations: 99.78 kB / 0.5721 GB, free: 29.66 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.04e-05/0.4823, allocations: 12.84 kB / 0.5721 GB, free: 29.66 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003681/0.4827, allocations: 214.3 kB / 0.5723 GB, free: 29.59 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.306e-05/0.4828, allocations: 66.83 kB / 0.5724 GB, free: 29.56 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.238e-05/0.4828, allocations: 75.25 kB / 0.5724 GB, free: 29.52 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004019/0.4832, allocations: 304.6 kB / 0.5727 GB, free: 29.41 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.4833, allocations: 2.547 kB / 0.5727 GB, free: 29.41 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.4833, allocations: 3.938 kB / 0.5727 GB, free: 29.41 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.4833, allocations: 0.5 kB / 0.5727 GB, free: 29.41 MB / 446.1 MB 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.000625/0.4839, allocations: 475.5 kB / 0.5732 GB, free: 28.98 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.484, allocations: 11.03 kB / 0.5732 GB, free: 28.98 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008064/0.4848, allocations: 83.08 kB / 0.5733 GB, free: 28.97 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002534/0.485, allocations: 231 kB / 0.5735 GB, free: 28.74 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.4851, allocations: 13.2 kB / 0.5735 GB, free: 28.73 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.822e-05/0.4851, allocations: 18.16 kB / 0.5735 GB, free: 28.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004735/0.4856, allocations: 293.2 kB / 0.5738 GB, free: 28.55 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.4856, allocations: 0 / 0.5738 GB, free: 28.55 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.893e-05/0.4857, allocations: 11.08 kB / 0.5738 GB, free: 28.55 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.144e-05/0.4857, allocations: 20.86 kB / 0.5738 GB, free: 28.54 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004496/0.4862, allocations: 228.1 kB / 0.5741 GB, free: 28.46 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001703/0.4879, allocations: 1.596 MB / 0.5756 GB, free: 27.09 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003694/0.4883, allocations: 325.5 kB / 0.5759 GB, free: 26.81 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.984e-05/0.4884, allocations: 59.45 kB / 0.576 GB, free: 26.79 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.4884, allocations: 5.312 kB / 0.576 GB, free: 26.78 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.764e-05/0.4884, allocations: 35.19 kB / 0.576 GB, free: 26.74 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.673e-06/0.4884, allocations: 0 / 0.576 GB, free: 26.74 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.000617/0.4891, allocations: 248.4 kB / 0.5763 GB, free: 26.62 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/0.4891, allocations: 79.02 kB / 0.5763 GB, free: 26.52 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002487/0.4894, allocations: 206 kB / 0.5765 GB, free: 26.39 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.4894, allocations: 26.8 kB / 0.5766 GB, free: 26.36 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.252e-05/0.4895, allocations: 159.9 kB / 0.5767 GB, free: 26.22 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.156e-05/0.4895, allocations: 40.09 kB / 0.5768 GB, free: 26.19 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.772e-05/0.4896, allocations: 48.16 kB / 0.5768 GB, free: 26.16 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.405e-05/0.4896, allocations: 325.9 kB / 0.5771 GB, free: 25.84 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001565/0.4898, allocations: 78.95 kB / 0.5772 GB, free: 25.81 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001861/0.49, allocations: 163 kB / 0.5773 GB, free: 25.68 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002831/0.4903, allocations: 245.2 kB / 0.5776 GB, free: 25.51 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.4903, allocations: 1.812 kB / 0.5776 GB, free: 25.51 MB / 446.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004699/0.4908, allocations: 269.1 kB / 0.5778 GB, free: 25.39 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.4908, allocations: 7.125 kB / 0.5778 GB, free: 25.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.4908, allocations: 3.719 kB / 0.5778 GB, free: 25.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.269e-05/0.4909, allocations: 8.656 kB / 0.5779 GB, free: 25.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002534/0.4911, allocations: 58.55 kB / 0.5779 GB, free: 25.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.4911, allocations: 5.031 kB / 0.5779 GB, free: 25.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002447/0.4914, allocations: 19.12 kB / 0.5779 GB, free: 25.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.337e-05/0.4914, allocations: 13.75 kB / 0.5779 GB, free: 25.38 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001941/0.4916, allocations: 168.7 kB / 0.5781 GB, free: 25.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001758/0.4918, allocations: 159.9 kB / 0.5783 GB, free: 25.13 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002476/0.4921, allocations: 229 kB / 0.5785 GB, free: 24.96 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.996e-06/0.4921, allocations: 2.219 kB / 0.5785 GB, free: 24.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004447/0.4925, allocations: 248.7 kB / 0.5787 GB, free: 24.85 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.4925, allocations: 7.219 kB / 0.5787 GB, free: 24.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.4925, allocations: 4.75 kB / 0.5787 GB, free: 24.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.194e-06/0.4926, allocations: 4.594 kB / 0.5787 GB, free: 24.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002015/0.4928, allocations: 50.66 kB / 0.5788 GB, free: 24.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.4928, allocations: 17.25 kB / 0.5788 GB, free: 24.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002235/0.493, allocations: 23.03 kB / 0.5788 GB, free: 24.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.77e-05/0.493, allocations: 17.05 kB / 0.5788 GB, free: 24.82 MB / 446.1 MB 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 9.328e-05/0.4931, allocations: 188.3 kB / 0.579 GB, free: 24.64 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.147e-05/0.4932, allocations: 15.25 kB / 0.579 GB, free: 24.63 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002442/0.4935, allocations: 142.8 kB / 0.5792 GB, free: 24.56 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.4935, allocations: 5.312 kB / 0.5792 GB, free: 24.55 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.4935, allocations: 1.906 kB / 0.5792 GB, free: 24.55 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.4935, allocations: 5.141 kB / 0.5792 GB, free: 24.55 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008164/0.4943, allocations: 0.7321 MB / 0.5799 GB, free: 23.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.4943, allocations: 2.75 kB / 0.5799 GB, free: 23.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.998e-05/0.4944, allocations: 26.31 kB / 0.5799 GB, free: 23.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.4945, allocations: 5.234 kB / 0.5799 GB, free: 23.99 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.4945, allocations: 6.75 kB / 0.5799 GB, free: 23.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.4945, allocations: 5.484 kB / 0.5799 GB, free: 23.98 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.4945, allocations: 7.219 kB / 0.5799 GB, free: 23.98 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002348/0.4947, allocations: 376.8 kB / 0.5803 GB, free: 23.66 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.399e-05/0.4948, allocations: 103.6 kB / 0.5804 GB, free: 23.55 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.398e-05/0.4948, allocations: 8.688 kB / 0.5804 GB, free: 23.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002035/0.495, allocations: 10.16 kB / 0.5804 GB, free: 23.55 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.501e-05/0.4951, allocations: 14.66 kB / 0.5804 GB, free: 23.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.4951, allocations: 10.3 kB / 0.5804 GB, free: 23.54 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001596/0.4953, allocations: 156.2 kB / 0.5806 GB, free: 23.45 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4953, allocations: 1.719 kB / 0.5806 GB, free: 23.45 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000532/0.4958, allocations: 68.62 kB / 0.5807 GB, free: 23.44 MB / 446.1 MB 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.0001178/0.4959, allocations: 108.6 kB / 0.5808 GB, free: 23.34 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005261/0.4965, allocations: 286.9 kB / 0.581 GB, free: 23.26 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.4965, allocations: 0 / 0.581 GB, free: 23.26 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.148e-05/0.4966, allocations: 59.16 kB / 0.5811 GB, free: 23.24 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004973/0.4971, allocations: 40.81 kB / 0.5811 GB, free: 23.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000642/0.4977, allocations: 424.1 kB / 0.5815 GB, free: 22.92 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001781/0.4979, allocations: 0.7323 MB / 0.5823 GB, free: 22.22 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000243/0.4982, allocations: 77.25 kB / 0.5823 GB, free: 22.21 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.961e-05/0.4982, allocations: 17.61 kB / 0.5823 GB, free: 22.2 MB / 446.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4982, allocations: 0 / 0.5823 GB, free: 22.2 MB / 446.1 MB Notification: Performance of Templates: time 0.004264/0.5025, allocations: 1.888 MB / 0.5842 GB, free: 21.31 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1)