Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.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.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009344/0.0009341, allocations: 96.66 kB / 15.68 MB, free: 488 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.0009843/0.0009842, allocations: 177.1 kB / 16.57 MB, free: 6.855 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.46/1.46, allocations: 223.2 MB / 240.5 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7006/0.7006, allocations: 113.8 MB / 405.4 MB, free: 4.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000322/0.000322, allocations: 8 kB / 493.1 MB, free: 8.578 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1717, allocations: 77.16 MB / 0.5568 GB, free: 11.62 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.009232/0.1809, allocations: 8.745 MB / 0.5654 GB, free: 2.84 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005168/0.1862, allocations: 3.023 MB / 0.5683 GB, free: 15.81 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008168/0.187, allocations: 27.81 kB / 0.5684 GB, free: 15.78 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004848/0.1875, allocations: 182.9 kB / 0.5685 GB, free: 15.6 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001278/0.1888, allocations: 0.4985 MB / 0.569 GB, free: 15.1 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00121/0.19, allocations: 0.5221 MB / 0.5695 GB, free: 14.58 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001927/0.192, allocations: 1.446 MB / 0.571 GB, free: 13.13 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00374/0.1957, allocations: 2.715 MB / 0.5736 GB, free: 10.38 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001426/0.1972, allocations: 0.8061 MB / 0.5744 GB, free: 9.57 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0016/0.1988, allocations: 1.005 MB / 0.5754 GB, free: 8.562 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002604/0.199, allocations: 112 kB / 0.5755 GB, free: 8.453 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006578/0.1997, allocations: 223.8 kB / 0.5757 GB, free: 8.234 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007522/0.2005, allocations: 0.842 MB / 0.5765 GB, free: 7.391 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004258/0.2009, allocations: 388.7 kB / 0.5769 GB, free: 7.004 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002667/0.2036, allocations: 2.965 MB / 0.5798 GB, free: 4.031 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2036, allocations: 0 / 0.5798 GB, free: 4.031 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.2036, allocations: 0 / 0.5798 GB, free: 4.031 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.962e-05/0.2037, allocations: 0 / 0.5798 GB, free: 4.031 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: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.00381/0.2075, allocations: 1.77 MB / 0.5815 GB, free: 2.207 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.2076, allocations: 16.02 kB / 0.5815 GB, free: 2.191 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009287/0.2169, allocations: 1.437 MB / 0.5829 GB, free: 0.75 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3078/0.5248, allocations: 1.228 MB / 0.5841 GB, free: 30.73 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001181/0.5249, allocations: 108.8 kB / 0.5842 GB, free: 30.73 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004827/0.5254, allocations: 148.8 kB / 0.5844 GB, free: 30.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006479/0.5319, allocations: 3.416 MB / 0.5877 GB, free: 30.02 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.168e-05/0.532, allocations: 5.422 kB / 0.5877 GB, free: 30.02 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002158/0.5322, allocations: 69.91 kB / 0.5878 GB, free: 29.98 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003235/0.5325, allocations: 204.3 kB / 0.588 GB, free: 29.95 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006315/0.5388, allocations: 3.111 MB / 0.591 GB, free: 28.96 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02055/0.5594, allocations: 13.59 MB / 0.6043 GB, free: 20.09 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003114/0.5626, allocations: 1.719 MB / 0.606 GB, free: 19.48 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.403e-05/0.5627, allocations: 12.84 kB / 0.606 GB, free: 19.48 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.5627, allocations: 47.59 kB / 0.606 GB, free: 19.43 MB / 446.1 MB Notification: Performance of pre-optimization done (n=104): time 2.585e-06/0.5628, allocations: 0 / 0.606 GB, free: 19.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=183): time 0.1369/0.6997, allocations: 35.94 MB / 0.6411 GB, free: 6.84 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.681e-05/0.6998, allocations: 73.36 kB / 0.6412 GB, free: 6.754 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00162/0.7014, allocations: 1.046 MB / 0.6422 GB, free: 5.684 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000456/0.7019, allocations: 49.7 kB / 0.6423 GB, free: 5.629 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005449/0.7024, allocations: 0.7938 MB / 0.643 GB, free: 4.828 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006658/0.7031, allocations: 0.6209 MB / 0.6436 GB, free: 4.211 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001644/0.7033, allocations: 36 kB / 0.6437 GB, free: 4.176 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.7035, allocations: 385.9 kB / 0.644 GB, free: 3.793 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002775/0.7062, allocations: 1.932 MB / 0.6459 GB, free: 1.859 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002853/0.7091, allocations: 2.273 MB / 0.6482 GB, free: 15.46 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002938/0.7121, allocations: 2.212 MB / 0.6503 GB, free: 13.25 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/0.7121, allocations: 7.938 kB / 0.6503 GB, free: 13.25 MB / 478.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02017/0.7323, allocations: 8.988 MB / 0.6591 GB, free: 4.227 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.707e-05/0.7323, allocations: 8 kB / 0.6591 GB, free: 4.219 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.697e-05/0.7324, allocations: 15.98 kB / 0.6591 GB, free: 4.203 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01698/0.7493, allocations: 4.987 MB / 0.664 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/0.7504, allocations: 187.7 kB / 0.6642 GB, free: 15.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05593/0.8064, allocations: 36.84 MB / 0.7001 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002567/0.809, allocations: 103.9 kB / 0.7002 GB, free: 9.555 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002277/0.8092, allocations: 68 kB / 0.7003 GB, free: 9.488 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(8,100.0%) 16,(8,100.0%) 16,(8,100.0%) 38,(8,100.0%) 38} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001698/0.8109, allocations: 0.8132 MB / 0.7011 GB, free: 8.664 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000382/0.8113, allocations: 138.3 kB / 0.7012 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01972/0.831, allocations: 8.879 MB / 0.7099 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.04e-05/0.8311, allocations: 20 kB / 0.7099 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.794e-05/0.8312, allocations: 28 kB / 0.71 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.452e-05/0.8313, allocations: 7.969 kB / 0.71 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02788/0.8591, allocations: 13.14 MB / 0.7228 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.523e-05/0.8593, allocations: 4 kB / 0.7228 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007364/0.86, allocations: 123.8 kB / 0.7229 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01693/0.877, allocations: 4.74 MB / 0.7275 GB, free: 13.44 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006169/0.8777, allocations: 36 kB / 0.7276 GB, free: 13.41 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05215/0.9298, allocations: 33 MB / 0.7598 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.918e-06/0.9299, allocations: 7.938 kB / 0.7598 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01909/0.949, allocations: 8.557 MB / 0.7682 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002147/0.9512, allocations: 0.6163 MB / 0.7688 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003503/0.9516, allocations: 36 kB / 0.7688 GB, free: 2.465 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001289/0.9529, allocations: 91.89 kB / 0.7689 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009199/0.9538, allocations: 165.6 kB / 0.7691 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001544/0.954, allocations: 48 kB / 0.7691 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001052/0.9551, allocations: 0.7304 MB / 0.7698 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.8e-07/0.9551, allocations: 3.938 kB / 0.7698 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003628/0.9587, allocations: 1.004 MB / 0.7708 GB, free: 424 kB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(8,100.0%) 16,(8,100.0%) 38,(8,100.0%) 8,(14,77.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003408/0.9591, allocations: 147.1 kB / 0.7709 GB, free: 268 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01001/0.9691, allocations: 5.827 MB / 0.7766 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/0.9691, allocations: 0 / 0.7766 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.007783/0.9769, allocations: 3.78 MB / 0.7803 GB, free: 6.555 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00141/0.9784, allocations: 196.4 kB / 0.7805 GB, free: 6.363 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008189/0.9866, allocations: 5.629 MB / 0.786 GB, free: 0.6953 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001751/0.9883, allocations: 1.895 MB / 0.7879 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009121/0.9893, allocations: 347.4 kB / 0.7882 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001815/0.9895, allocations: 59.42 kB / 0.7882 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of SimCode: time 2.284e-06/0.9895, allocations: 0 / 0.7882 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of Templates: time 0.3918/1.381, allocations: 54.43 MB / 0.8414 GB, free: 195.2 MB / 0.6231 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1)