Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005108/0.005108, allocations: 100.7 kB / 15.73 MB, free: 6.016 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.001233/0.001233, allocations: 181.7 kB / 16.67 MB, free: 5.938 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.27/1.27, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002065/0.002065, allocations: 289.2 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9248/0.9248, allocations: 169.3 MB / 0.4983 GB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001556/0.001556, allocations: 95.84 kB / 0.6815 GB, free: 7.008 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3659/0.3675, allocations: 86.97 MB / 0.7664 GB, free: 4 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.007245/0.3748, allocations: 6.156 MB / 0.7724 GB, free: 13.82 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004251/0.3791, allocations: 3.164 MB / 0.7755 GB, free: 10.64 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002255/0.3793, allocations: 31.81 kB / 0.7755 GB, free: 10.61 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002175/0.3815, allocations: 0.9247 MB / 0.7764 GB, free: 9.684 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0007554/0.3822, allocations: 477.5 kB / 0.7769 GB, free: 9.215 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008759/0.3831, allocations: 0.5051 MB / 0.7774 GB, free: 8.711 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0009743/0.3841, allocations: 1.092 MB / 0.7784 GB, free: 7.613 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007628/0.3849, allocations: 0.6308 MB / 0.7791 GB, free: 6.984 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000424/0.3853, allocations: 446.4 kB / 0.7795 GB, free: 6.547 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005061/0.3858, allocations: 478.1 kB / 0.7799 GB, free: 6.078 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.27e-05/0.3859, allocations: 60 kB / 0.78 GB, free: 6.02 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006469/0.3866, allocations: 483 kB / 0.7805 GB, free: 5.547 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002515/0.3868, allocations: 291.2 kB / 0.7807 GB, free: 5.262 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003298/0.3872, allocations: 397.9 kB / 0.7811 GB, free: 4.871 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001112/0.3883, allocations: 1.189 MB / 0.7823 GB, free: 3.684 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.3883, allocations: 0 / 0.7823 GB, free: 3.684 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.885e-06/0.3883, allocations: 4 kB / 0.7823 GB, free: 3.68 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.957e-06/0.3883, allocations: 0 / 0.7823 GB, free: 3.68 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001392/0.3897, allocations: 1.082 MB / 0.7833 GB, free: 2.543 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.077e-05/0.3898, allocations: 15.97 kB / 0.7833 GB, free: 2.527 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00144/0.3912, allocations: 228.1 kB / 0.7836 GB, free: 2.305 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007926/0.392, allocations: 0.5965 MB / 0.7841 GB, free: 1.672 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.312e-05/0.3921, allocations: 45.67 kB / 0.7842 GB, free: 1.629 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.566e-05/0.3922, allocations: 68.3 kB / 0.7843 GB, free: 1.562 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001293/0.3935, allocations: 1.03 MB / 0.7853 GB, free: 436 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.776e-05/0.3935, allocations: 11.89 kB / 0.7853 GB, free: 424 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.557e-05/0.3936, allocations: 31.98 kB / 0.7853 GB, free: 392 kB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.009e-05/0.3937, allocations: 69.27 kB / 0.7854 GB, free: 324 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001002/0.3947, allocations: 0.6918 MB / 0.786 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004449/0.3991, allocations: 5.734 MB / 0.7916 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007977/0.3999, allocations: 0.5982 MB / 0.7922 GB, free: 8.812 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007756/0.4007, allocations: 436.5 kB / 0.7926 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.619e-05/0.4008, allocations: 8 kB / 0.7927 GB, free: 8.375 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.4008, allocations: 34.56 kB / 0.7927 GB, free: 8.332 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=41): time 1.613e-06/0.4008, allocations: 0 / 0.7927 GB, free: 8.332 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42): time 0.004078/0.4049, allocations: 2.028 MB / 0.7947 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.332e-05/0.4049, allocations: 59.41 kB / 0.7947 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004314/0.4054, allocations: 462.8 kB / 0.7952 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.179e-05/0.4054, allocations: 33.7 kB / 0.7952 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002394/0.4057, allocations: 400.1 kB / 0.7956 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001028/0.4058, allocations: 154.7 kB / 0.7957 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001593/0.4059, allocations: 110.2 kB / 0.7958 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.4061, allocations: 362.8 kB / 0.7962 GB, free: 4.617 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003549/0.4064, allocations: 245.2 kB / 0.7964 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004744/0.4069, allocations: 457 kB / 0.7968 GB, free: 3.836 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008962/0.4078, allocations: 0.7448 MB / 0.7976 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.4078, allocations: 4 kB / 0.7976 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00176/0.4096, allocations: 1.047 MB / 0.7986 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.4096, allocations: 8 kB / 0.7986 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/0.4096, allocations: 8 kB / 0.7986 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009797/0.4106, allocations: 319.5 kB / 0.7989 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003037/0.4109, allocations: 95.81 kB / 0.799 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006678/0.4176, allocations: 7.47 MB / 0.8063 GB, free: 9.457 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003286/0.418, allocations: 32.02 kB / 0.8063 GB, free: 9.426 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.767e-05/0.418, allocations: 24 kB / 0.8064 GB, free: 9.402 MB / 0.5762 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002672/0.4183, allocations: 245.6 kB / 0.8066 GB, free: 9.152 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.659e-05/0.4184, allocations: 63.56 kB / 0.8067 GB, free: 9.09 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001645/0.4201, allocations: 0.9042 MB / 0.8075 GB, free: 8.16 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.4201, allocations: 4.141 kB / 0.8075 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.4201, allocations: 8.172 kB / 0.8075 GB, free: 8.148 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.4201, allocations: 7.984 kB / 0.8076 GB, free: 8.141 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002419/0.4225, allocations: 1.693 MB / 0.8092 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.4225, allocations: 0 / 0.8092 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001659/0.4227, allocations: 43.91 kB / 0.8093 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008786/0.4236, allocations: 299.6 kB / 0.8095 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.192e-05/0.4236, allocations: 15.94 kB / 0.8096 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006613/0.4303, allocations: 7.458 MB / 0.8168 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.238e-06/0.4303, allocations: 3.938 kB / 0.8168 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001533/0.4318, allocations: 0.9958 MB / 0.8178 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001981/0.432, allocations: 188.7 kB / 0.818 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.439e-05/0.4321, allocations: 8 kB / 0.818 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002715/0.4324, allocations: 19.97 kB / 0.818 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.71e-05/0.4325, allocations: 47.81 kB / 0.8181 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.784e-05/0.4325, allocations: 16 kB / 0.8181 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003123/0.4328, allocations: 310.9 kB / 0.8184 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4328, allocations: 0 / 0.8184 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006334/0.4335, allocations: 196 kB / 0.8186 GB, free: 12.14 MB / 0.5919 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001308/0.4336, allocations: 111.2 kB / 0.8187 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001687/0.4353, allocations: 1.199 MB / 0.8198 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4353, allocations: 0 / 0.8198 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001139/0.4365, allocations: 0.8542 MB / 0.8207 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009258/0.4374, allocations: 212.5 kB / 0.8209 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001677/0.4391, allocations: 1.267 MB / 0.8221 GB, free: 8.367 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005359/0.4396, allocations: 0.996 MB / 0.8231 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002382/0.4399, allocations: 97.19 kB / 0.8232 GB, free: 7.25 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.632e-05/0.44, allocations: 39.42 kB / 0.8232 GB, free: 7.211 MB / 0.5919 GB Notification: Performance of SimCode: time 2.3e-07/0.44, allocations: 0 / 0.8232 GB, free: 7.211 MB / 0.5919 GB Notification: Performance of Templates: time 0.0149/0.4549, allocations: 9.981 MB / 0.833 GB, free: 13.34 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)