Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.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.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter") translateModel(IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 110.4 kB / 17.03 MB, free: 6.094 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.001026/0.001026, allocations: 190.9 kB / 17.97 MB, free: 5.191 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.338/1.338, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7139/0.7139, allocations: 115.1 MB / 406.9 MB, free: 6.348 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002067/0.002067, allocations: 63.91 kB / 494.8 MB, free: 15.87 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4103/0.4124, allocations: 76.13 MB / 0.5576 GB, free: 36.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.005936/0.4183, allocations: 3.33 MB / 0.5608 GB, free: 34.37 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0042/0.4226, allocations: 2.158 MB / 0.5629 GB, free: 32.9 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002173/0.4228, allocations: 9.781 kB / 0.5629 GB, free: 32.89 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001164/0.424, allocations: 294.6 kB / 0.5632 GB, free: 32.72 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007379/0.4248, allocations: 231.4 kB / 0.5634 GB, free: 32.6 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001001/0.4258, allocations: 301.2 kB / 0.5637 GB, free: 32.46 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005467/0.4264, allocations: 398.5 kB / 0.5641 GB, free: 32.29 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000441/0.4268, allocations: 190 kB / 0.5643 GB, free: 32.23 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002713/0.4271, allocations: 154 kB / 0.5644 GB, free: 32.16 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000407/0.4275, allocations: 174.6 kB / 0.5646 GB, free: 32.09 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.596e-05/0.4276, allocations: 22.78 kB / 0.5646 GB, free: 32.09 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001008/0.4286, allocations: 432.2 kB / 0.565 GB, free: 31.95 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001661/0.4288, allocations: 99.11 kB / 0.5651 GB, free: 31.91 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001952/0.429, allocations: 138.7 kB / 0.5653 GB, free: 31.83 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001004/0.43, allocations: 0.5114 MB / 0.5658 GB, free: 31.66 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.4301, allocations: 7.938 kB / 0.5658 GB, free: 31.65 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4301, allocations: 0.9688 kB / 0.5658 GB, free: 31.65 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.187e-06/0.4301, allocations: 1.75 kB / 0.5658 GB, free: 31.65 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.00126/0.4314, allocations: 0.6086 MB / 0.5664 GB, free: 31.14 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.4314, allocations: 11.88 kB / 0.5664 GB, free: 31.14 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001406/0.4328, allocations: 117.4 kB / 0.5665 GB, free: 31.12 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000504/0.4334, allocations: 283.1 kB / 0.5668 GB, free: 30.87 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.904e-05/0.4334, allocations: 21.89 kB / 0.5668 GB, free: 30.86 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.645e-05/0.4335, allocations: 19.06 kB / 0.5668 GB, free: 30.86 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009433/0.4344, allocations: 428.6 kB / 0.5672 GB, free: 30.63 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.4345, allocations: 1.406 kB / 0.5672 GB, free: 30.63 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.224e-05/0.4345, allocations: 7.203 kB / 0.5672 GB, free: 30.63 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.066e-05/0.4346, allocations: 34.86 kB / 0.5672 GB, free: 30.62 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009215/0.4355, allocations: 346.5 kB / 0.5676 GB, free: 30.52 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003053/0.4386, allocations: 2.044 MB / 0.5696 GB, free: 28.82 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001118/0.4397, allocations: 351.6 kB / 0.5699 GB, free: 28.67 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005693/0.4403, allocations: 193.1 kB / 0.5701 GB, free: 28.6 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001151/0.4405, allocations: 87.17 kB / 0.5702 GB, free: 28.51 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.4405, allocations: 41.53 kB / 0.5702 GB, free: 28.46 MB / 446.1 MB Notification: Performance of pre-optimization done (n=22): time 2.846e-06/0.4405, allocations: 2.375 kB / 0.5702 GB, free: 28.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.007115/0.4476, allocations: 1.587 MB / 0.5718 GB, free: 27.93 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.4477, allocations: 86.22 kB / 0.5719 GB, free: 27.83 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003384/0.4481, allocations: 228.7 kB / 0.5721 GB, free: 27.69 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.956e-05/0.4481, allocations: 30.7 kB / 0.5721 GB, free: 27.65 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.4482, allocations: 181.7 kB / 0.5723 GB, free: 27.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.4483, allocations: 121.1 kB / 0.5724 GB, free: 27.4 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001942/0.4485, allocations: 83.55 kB / 0.5725 GB, free: 27.36 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.388e-05/0.4486, allocations: 332.5 kB / 0.5728 GB, free: 27.04 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005669/0.4492, allocations: 200.8 kB / 0.573 GB, free: 26.97 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006728/0.4499, allocations: 312 kB / 0.5733 GB, free: 26.77 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001247/0.4512, allocations: 0.5049 MB / 0.5738 GB, free: 26.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.4512, allocations: 2.844 kB / 0.5738 GB, free: 26.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002012/0.4532, allocations: 0.6576 MB / 0.5744 GB, free: 26.22 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.985e-05/0.4533, allocations: 12.22 kB / 0.5744 GB, free: 26.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.661e-05/0.4533, allocations: 4.031 kB / 0.5744 GB, free: 26.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007762/0.4541, allocations: 144.5 kB / 0.5746 GB, free: 26.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007106/0.4548, allocations: 93.62 kB / 0.5747 GB, free: 26.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003325/0.4582, allocations: 4.169 MB / 0.5787 GB, free: 22.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005722/0.4587, allocations: 38.72 kB / 0.5788 GB, free: 22.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.398e-05/0.4588, allocations: 17.28 kB / 0.5788 GB, free: 22.14 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007625/0.4596, allocations: 318.1 kB / 0.5791 GB, free: 21.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006864/0.4603, allocations: 298.6 kB / 0.5794 GB, free: 21.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001299/0.4616, allocations: 0.5048 MB / 0.5799 GB, free: 21.52 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.408e-06/0.4616, allocations: 1.531 kB / 0.5799 GB, free: 21.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.002037/0.4637, allocations: 0.6558 MB / 0.5805 GB, free: 21.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.645e-05/0.4637, allocations: 6.656 kB / 0.5805 GB, free: 21.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.4638, allocations: 4.016 kB / 0.5805 GB, free: 21.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000633/0.4644, allocations: 148 kB / 0.5807 GB, free: 21.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005971/0.465, allocations: 90.94 kB / 0.5807 GB, free: 21.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002881/0.4679, allocations: 4.169 MB / 0.5848 GB, free: 17.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005438/0.4685, allocations: 35.73 kB / 0.5848 GB, free: 17.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.757e-05/0.4685, allocations: 21.22 kB / 0.5849 GB, free: 17.14 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002356/0.4688, allocations: 209.2 kB / 0.5851 GB, free: 16.94 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001552/0.469, allocations: 32.78 kB / 0.5851 GB, free: 16.92 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001718/0.4707, allocations: 0.6082 MB / 0.5857 GB, free: 16.65 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.4707, allocations: 5.219 kB / 0.5857 GB, free: 16.65 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.4707, allocations: 1.562 kB / 0.5857 GB, free: 16.65 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.4707, allocations: 1.922 kB / 0.5857 GB, free: 16.65 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00278/0.4735, allocations: 1.315 MB / 0.587 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.4735, allocations: 6.719 kB / 0.587 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003308/0.4739, allocations: 62.3 kB / 0.587 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004956/0.4744, allocations: 150.5 kB / 0.5872 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.44e-05/0.4744, allocations: 17.11 kB / 0.5872 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002604/0.477, allocations: 4.191 MB / 0.5913 GB, free: 11.74 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.4771, allocations: 2.375 kB / 0.5913 GB, free: 11.74 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001184/0.4783, allocations: 0.7738 MB / 0.5921 GB, free: 11.25 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001652/0.4784, allocations: 142 kB / 0.5922 GB, free: 11.12 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.303e-05/0.4785, allocations: 9.562 kB / 0.5922 GB, free: 11.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003159/0.4788, allocations: 32.92 kB / 0.5922 GB, free: 11.11 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.639e-05/0.4789, allocations: 33.48 kB / 0.5923 GB, free: 11.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.436e-05/0.4789, allocations: 21 kB / 0.5923 GB, free: 11.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001541/0.4791, allocations: 168.3 kB / 0.5924 GB, free: 10.99 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4791, allocations: 0 / 0.5924 GB, free: 10.99 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008299/0.4799, allocations: 164.7 kB / 0.5926 GB, free: 10.97 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001818/0.4801, allocations: 139.2 kB / 0.5927 GB, free: 10.86 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001977/0.4821, allocations: 1.236 MB / 0.5939 GB, free: 10.17 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.4821, allocations: 4.062 kB / 0.5939 GB, free: 10.16 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006578/0.4828, allocations: 496.7 kB / 0.5944 GB, free: 9.855 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005791/0.4834, allocations: 60.8 kB / 0.5945 GB, free: 9.836 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.4845, allocations: 0.7443 MB / 0.5952 GB, free: 9.391 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002836/0.4848, allocations: 0.8117 MB / 0.596 GB, free: 8.676 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000317/0.4851, allocations: 119.9 kB / 0.5961 GB, free: 8.652 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.787e-05/0.4852, allocations: 25.48 kB / 0.5961 GB, free: 8.645 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4852, allocations: 0 / 0.5961 GB, free: 8.645 MB / 446.1 MB Notification: Performance of Templates: time 0.009922/0.4951, allocations: 6.317 MB / 0.6023 GB, free: 4.809 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe 2>&1)