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.001478/0.001478, allocations: 102.2 kB / 15.98 MB, free: 6.34 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.001765/0.001765, allocations: 201.4 kB / 16.91 MB, free: 6.188 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.378/1.378, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.845/0.845, allocations: 122.9 MB / 413.6 MB, free: 48 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 63.89 kB / 0.4906 GB, free: 7.75 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3937/0.395, allocations: 77.91 MB / 0.5667 GB, free: 32.02 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.004056/0.3991, allocations: 2.473 MB / 0.5691 GB, free: 30.35 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00229/0.4014, allocations: 1.552 MB / 0.5706 GB, free: 29.3 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.4015, allocations: 3.375 kB / 0.5706 GB, free: 29.3 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006603/0.4022, allocations: 170.1 kB / 0.5708 GB, free: 29.21 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003914/0.4026, allocations: 144.5 kB / 0.5709 GB, free: 29.13 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004768/0.4031, allocations: 168.2 kB / 0.5711 GB, free: 29.05 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002811/0.4034, allocations: 212.3 kB / 0.5713 GB, free: 28.96 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003258/0.4037, allocations: 148.3 kB / 0.5714 GB, free: 28.91 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001322/0.4038, allocations: 87.42 kB / 0.5715 GB, free: 28.87 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002093/0.4041, allocations: 112.7 kB / 0.5716 GB, free: 28.82 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.328e-05/0.4041, allocations: 12.59 kB / 0.5716 GB, free: 28.82 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003245/0.4044, allocations: 209.7 kB / 0.5718 GB, free: 28.75 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.651e-05/0.4045, allocations: 67.62 kB / 0.5719 GB, free: 28.73 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.074e-05/0.4046, allocations: 75.88 kB / 0.572 GB, free: 28.68 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004015/0.405, allocations: 320 kB / 0.5723 GB, free: 28.58 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.405, allocations: 0 / 0.5723 GB, free: 28.58 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.405, allocations: 3.938 kB / 0.5723 GB, free: 28.57 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.81e-06/0.405, allocations: 1.156 kB / 0.5723 GB, free: 28.57 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.0006063/0.4057, allocations: 474.2 kB / 0.5727 GB, free: 28.14 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.4057, allocations: 9.812 kB / 0.5727 GB, free: 28.14 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007949/0.4065, allocations: 83.06 kB / 0.5728 GB, free: 28.13 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/0.4067, allocations: 232.6 kB / 0.573 GB, free: 27.9 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.4067, allocations: 10.81 kB / 0.5731 GB, free: 27.9 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.142e-05/0.4068, allocations: 15.66 kB / 0.5731 GB, free: 27.89 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004768/0.4073, allocations: 299.8 kB / 0.5734 GB, free: 27.71 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.4073, allocations: 1.438 kB / 0.5734 GB, free: 27.71 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.727e-05/0.4073, allocations: 6.312 kB / 0.5734 GB, free: 27.71 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.412e-05/0.4074, allocations: 24.11 kB / 0.5734 GB, free: 27.7 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004464/0.4078, allocations: 224.3 kB / 0.5736 GB, free: 27.63 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001681/0.4095, allocations: 1.603 MB / 0.5752 GB, free: 26.25 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003616/0.4099, allocations: 317.6 kB / 0.5755 GB, free: 25.98 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001063/0.41, allocations: 60.14 kB / 0.5755 GB, free: 25.95 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.41, allocations: 6.125 kB / 0.5755 GB, free: 25.95 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.497e-05/0.4101, allocations: 33.86 kB / 0.5756 GB, free: 25.91 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.352e-06/0.4101, allocations: 0 / 0.5756 GB, free: 25.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005546/0.4106, allocations: 249.1 kB / 0.5758 GB, free: 25.78 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.544e-05/0.4107, allocations: 80.14 kB / 0.5759 GB, free: 25.69 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002576/0.4109, allocations: 205.3 kB / 0.5761 GB, free: 25.55 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.379e-05/0.411, allocations: 26.58 kB / 0.5761 GB, free: 25.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.539e-05/0.4111, allocations: 159.4 kB / 0.5762 GB, free: 25.38 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.067e-05/0.4111, allocations: 41.28 kB / 0.5763 GB, free: 25.35 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.095e-05/0.4112, allocations: 46.64 kB / 0.5763 GB, free: 25.32 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.089e-05/0.4113, allocations: 328 kB / 0.5766 GB, free: 25 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002182/0.4115, allocations: 76.64 kB / 0.5767 GB, free: 24.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002141/0.4117, allocations: 159.4 kB / 0.5769 GB, free: 24.85 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003099/0.412, allocations: 242.7 kB / 0.5771 GB, free: 24.68 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.412, allocations: 1.094 kB / 0.5771 GB, free: 24.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004863/0.4125, allocations: 273.7 kB / 0.5774 GB, free: 24.56 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.4126, allocations: 8.688 kB / 0.5774 GB, free: 24.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.4126, allocations: 6.891 kB / 0.5774 GB, free: 24.56 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.4126, allocations: 8.875 kB / 0.5774 GB, free: 24.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002685/0.4129, allocations: 56.95 kB / 0.5774 GB, free: 24.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.4129, allocations: 5.812 kB / 0.5774 GB, free: 24.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002632/0.4132, allocations: 18.44 kB / 0.5775 GB, free: 24.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.3e-05/0.4132, allocations: 13.81 kB / 0.5775 GB, free: 24.54 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001972/0.4134, allocations: 168.2 kB / 0.5776 GB, free: 24.43 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001726/0.4136, allocations: 156 kB / 0.5778 GB, free: 24.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002588/0.4138, allocations: 231.5 kB / 0.578 GB, free: 24.12 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.893e-06/0.4139, allocations: 1.562 kB / 0.578 GB, free: 24.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004442/0.4143, allocations: 247.1 kB / 0.5782 GB, free: 24.02 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.999e-06/0.4143, allocations: 7.5 kB / 0.5783 GB, free: 24.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.4143, allocations: 4.656 kB / 0.5783 GB, free: 24.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.049e-06/0.4144, allocations: 3.688 kB / 0.5783 GB, free: 24.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002123/0.4146, allocations: 56.81 kB / 0.5783 GB, free: 24.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.4146, allocations: 15.78 kB / 0.5783 GB, free: 24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002352/0.4148, allocations: 23.91 kB / 0.5784 GB, free: 23.99 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.4149, allocations: 14.78 kB / 0.5784 GB, free: 23.99 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 7.343e-05/0.4149, allocations: 194.9 kB / 0.5786 GB, free: 23.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.63e-05/0.415, allocations: 15.28 kB / 0.5786 GB, free: 23.79 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002484/0.4152, allocations: 145 kB / 0.5787 GB, free: 23.72 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.4153, allocations: 9.5 kB / 0.5787 GB, free: 23.71 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.4153, allocations: 1.188 kB / 0.5787 GB, free: 23.71 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.207e-06/0.4153, allocations: 2.094 kB / 0.5787 GB, free: 23.71 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008884/0.4162, allocations: 0.7261 MB / 0.5794 GB, free: 23.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.4162, allocations: 2.75 kB / 0.5794 GB, free: 23.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.4163, allocations: 25.2 kB / 0.5795 GB, free: 23.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.4163, allocations: 2.75 kB / 0.5795 GB, free: 23.16 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.4163, allocations: 8.125 kB / 0.5795 GB, free: 23.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.4163, allocations: 4.078 kB / 0.5795 GB, free: 23.15 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.4164, allocations: 10.2 kB / 0.5795 GB, free: 23.15 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002432/0.4166, allocations: 378 kB / 0.5798 GB, free: 22.82 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.52e-05/0.4167, allocations: 105.6 kB / 0.5799 GB, free: 22.72 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.362e-05/0.4167, allocations: 8.734 kB / 0.5799 GB, free: 22.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002152/0.4169, allocations: 9.266 kB / 0.58 GB, free: 22.71 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.276e-05/0.417, allocations: 15.61 kB / 0.58 GB, free: 22.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-06/0.417, allocations: 9.312 kB / 0.58 GB, free: 22.71 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001672/0.4172, allocations: 154.2 kB / 0.5801 GB, free: 22.61 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4172, allocations: 3.938 kB / 0.5801 GB, free: 22.61 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005391/0.4177, allocations: 69.92 kB / 0.5802 GB, free: 22.6 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.0001233/0.4178, allocations: 105.9 kB / 0.5803 GB, free: 22.51 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005179/0.4184, allocations: 284 kB / 0.5806 GB, free: 22.42 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.4184, allocations: 5.406 kB / 0.5806 GB, free: 22.41 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.517e-05/0.4185, allocations: 61.09 kB / 0.5806 GB, free: 22.39 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004725/0.419, allocations: 32.14 kB / 0.5807 GB, free: 22.39 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006944/0.4197, allocations: 488.3 kB / 0.5811 GB, free: 22.02 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000222/0.4199, allocations: 0.7343 MB / 0.5818 GB, free: 21.32 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000262/0.4202, allocations: 79.16 kB / 0.5819 GB, free: 21.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.679e-05/0.4202, allocations: 18.28 kB / 0.5819 GB, free: 21.3 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4202, allocations: 4 kB / 0.5819 GB, free: 21.29 MB / 446.1 MB Notification: Performance of Templates: time 0.00516/0.4254, allocations: 1.864 MB / 0.5838 GB, free: 20.87 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)