Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001493/0.001494, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.001677/0.001677, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.347/1.347, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002323/0.002323, allocations: 295.6 kB / 291.3 MB, free: 14.54 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9448/0.9448, allocations: 169.2 MB / 0.4988 GB, free: 4.492 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 92.02 kB / 0.5959 GB, free: 15.11 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1488, allocations: 86.97 MB / 0.6808 GB, free: 8.137 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.008362/0.1572, allocations: 6.807 MB / 0.6875 GB, free: 1.301 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.2642/0.4214, allocations: 3.04 MB / 0.6905 GB, free: 12.3 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005384/0.422, allocations: 28.91 kB / 0.6905 GB, free: 12.3 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002275/0.4243, allocations: 0.9556 MB / 0.6914 GB, free: 12.28 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00119/0.4255, allocations: 0.5042 MB / 0.6919 GB, free: 12.12 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001116/0.4267, allocations: 449 kB / 0.6923 GB, free: 12.09 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001318/0.428, allocations: 1.223 MB / 0.6935 GB, free: 11.87 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009444/0.4289, allocations: 0.6654 MB / 0.6942 GB, free: 11.76 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006442/0.4296, allocations: 469.6 kB / 0.6946 GB, free: 11.59 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006712/0.4303, allocations: 0.5222 MB / 0.6951 GB, free: 11.39 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001265/0.4304, allocations: 67.22 kB / 0.6952 GB, free: 11.39 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007719/0.4312, allocations: 384.8 kB / 0.6956 GB, free: 11.32 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003078/0.4315, allocations: 307.6 kB / 0.6959 GB, free: 11.2 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004187/0.4319, allocations: 450.2 kB / 0.6963 GB, free: 10.94 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001471/0.4334, allocations: 1.204 MB / 0.6975 GB, free: 10.56 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.4334, allocations: 0 / 0.6975 GB, free: 10.56 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.4334, allocations: 0 / 0.6975 GB, free: 10.56 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.668e-05/0.4335, allocations: 1.406 kB / 0.6975 GB, free: 10.56 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001841/0.4353, allocations: 1.174 MB / 0.6986 GB, free: 9.777 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.4354, allocations: 9.438 kB / 0.6986 GB, free: 9.777 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001657/0.437, allocations: 243.3 kB / 0.6989 GB, free: 9.719 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007966/0.4378, allocations: 0.5529 MB / 0.6994 GB, free: 9.352 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.799e-05/0.4379, allocations: 45.81 kB / 0.6994 GB, free: 9.336 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/0.438, allocations: 68.28 kB / 0.6995 GB, free: 9.316 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001467/0.4395, allocations: 1.084 MB / 0.7006 GB, free: 8.711 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.902e-05/0.4395, allocations: 12.31 kB / 0.7006 GB, free: 8.703 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.798e-05/0.4396, allocations: 31.89 kB / 0.7006 GB, free: 8.684 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001645/0.4398, allocations: 83.89 kB / 0.7007 GB, free: 8.672 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001192/0.441, allocations: 0.7508 MB / 0.7014 GB, free: 8.406 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004485/0.4455, allocations: 5.899 MB / 0.7072 GB, free: 3.418 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/0.4465, allocations: 0.549 MB / 0.7077 GB, free: 3.207 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004282/0.4469, allocations: 324.8 kB / 0.708 GB, free: 3.082 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.202e-05/0.447, allocations: 8.875 kB / 0.708 GB, free: 3.078 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.447, allocations: 43.42 kB / 0.7081 GB, free: 3.031 MB / 494.1 MB Notification: Performance of pre-optimization done (n=47): time 2.344e-06/0.447, allocations: 0 / 0.7081 GB, free: 3.031 MB / 494.1 MB Notification: Performance of matching and sorting (n=48): time 0.003983/0.451, allocations: 1.983 MB / 0.71 GB, free: 1.988 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/0.451, allocations: 66.02 kB / 0.7101 GB, free: 1.918 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006849/0.4517, allocations: 0.5599 MB / 0.7106 GB, free: 1.656 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.919e-05/0.4518, allocations: 36.36 kB / 0.7107 GB, free: 1.617 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002113/0.452, allocations: 418.5 kB / 0.7111 GB, free: 1.285 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001133/0.4521, allocations: 175.2 kB / 0.7112 GB, free: 1.152 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001978/0.4523, allocations: 121 kB / 0.7113 GB, free: 1.086 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.4524, allocations: 378.6 kB / 0.7117 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004018/0.4529, allocations: 278.8 kB / 0.712 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004818/0.4533, allocations: 495.8 kB / 0.7124 GB, free: 280 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/0.4544, allocations: 0.8041 MB / 0.7132 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.4544, allocations: 2.094 kB / 0.7132 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001902/0.4563, allocations: 1.088 MB / 0.7143 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.645e-05/0.4563, allocations: 7.719 kB / 0.7143 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/0.4564, allocations: 10.81 kB / 0.7143 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008721/0.4572, allocations: 285 kB / 0.7146 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004772/0.4577, allocations: 125.7 kB / 0.7147 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006342/0.4641, allocations: 7.131 MB / 0.7217 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007902/0.4649, allocations: 40.7 kB / 0.7217 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.436e-05/0.465, allocations: 26.75 kB / 0.7217 GB, free: 8.938 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * 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): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004033/0.4654, allocations: 251.6 kB / 0.722 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001275/0.4655, allocations: 76.5 kB / 0.722 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001604/0.4671, allocations: 0.8881 MB / 0.7229 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.4671, allocations: 9.172 kB / 0.7229 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/0.4671, allocations: 7.734 kB / 0.7229 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.4672, allocations: 6.703 kB / 0.7229 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002724/0.4699, allocations: 1.723 MB / 0.7246 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.4699, allocations: 1.406 kB / 0.7246 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000272/0.4702, allocations: 64.14 kB / 0.7247 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000745/0.4709, allocations: 273.6 kB / 0.7249 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.455e-05/0.471, allocations: 6.656 kB / 0.7249 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006059/0.4771, allocations: 7.126 MB / 0.7319 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.4771, allocations: 1.312 kB / 0.7319 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00159/0.4787, allocations: 0.9889 MB / 0.7329 GB, free: 436 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003231/0.479, allocations: 200.4 kB / 0.7331 GB, free: 256 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.426e-05/0.4791, allocations: 8.312 kB / 0.7331 GB, free: 252 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003883/0.4795, allocations: 36.5 kB / 0.7331 GB, free: 228 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/0.4796, allocations: 46.69 kB / 0.7331 GB, free: 200 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.245e-05/0.4797, allocations: 15.69 kB / 0.7332 GB, free: 196 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004774/0.4802, allocations: 388.1 kB / 0.7335 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.2e-07/0.4802, allocations: 0 / 0.7335 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009297/0.4811, allocations: 221.2 kB / 0.7337 GB, free: 15.95 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001495/0.4813, allocations: 119.3 kB / 0.7339 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002107/0.4834, allocations: 1.344 MB / 0.7352 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/0.4834, allocations: 1.469 kB / 0.7352 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001236/0.4846, allocations: 0.8842 MB / 0.736 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001143/0.4858, allocations: 221 kB / 0.7362 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00244/0.4882, allocations: 1.416 MB / 0.7376 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006253/0.4889, allocations: 1.013 MB / 0.7386 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001675/0.4891, allocations: 49.41 kB / 0.7387 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of SimCode: time 5.51e-07/0.4891, allocations: 0 / 0.7387 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of Templates: time 0.02503/0.5141, allocations: 20.87 MB / 0.759 GB, free: 12.12 MB / 0.5294 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)