Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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/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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 108.8 kB / 16.27 MB, free: 6.02 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.001061/0.001061, allocations: 193.5 kB / 17.2 MB, free: 5.629 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.288/1.288, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002234/0.002235, allocations: 288.9 kB / 291.3 MB, free: 14.53 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.934/0.934, allocations: 169.3 MB / 0.4988 GB, free: 4.488 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001846/0.001846, allocations: 101.7 kB / 0.5959 GB, free: 15.1 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.171, allocations: 86.97 MB / 0.6808 GB, free: 8.133 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.2965/0.4676, allocations: 20.23 MB / 0.7006 GB, free: 8.879 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01094/0.4786, allocations: 6.446 MB / 0.7069 GB, free: 4.473 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002381/0.481, allocations: 90.47 kB / 0.707 GB, free: 4.441 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005436/0.4865, allocations: 2.235 MB / 0.7092 GB, free: 3.094 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003852/0.4904, allocations: 1.187 MB / 0.7103 GB, free: 2.359 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003707/0.4941, allocations: 1.285 MB / 0.7116 GB, free: 1.637 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.007136/0.5013, allocations: 4.852 MB / 0.7163 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01025/0.5115, allocations: 5.635 MB / 0.7218 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004636/0.5162, allocations: 2.077 MB / 0.7238 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005047/0.5213, allocations: 2.344 MB / 0.7261 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.002003/0.5233, allocations: 429.1 kB / 0.7265 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004118/0.5275, allocations: 1.003 MB / 0.7275 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.003861/0.5314, allocations: 1.669 MB / 0.7292 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.006803/0.5382, allocations: 1.915 MB / 0.731 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01172/0.55, allocations: 6.477 MB / 0.7374 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.047e-06/0.55, allocations: 0 / 0.7374 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.605e-06/0.55, allocations: 0 / 0.7374 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0002556/0.5503, allocations: 1.031 kB / 0.7374 GB, free: 4.129 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01042/0.5607, allocations: 3.449 MB / 0.7407 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.5608, allocations: 12.94 kB / 0.7407 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003751/0.5646, allocations: 0.6373 MB / 0.7414 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004284/0.5689, allocations: 1.936 MB / 0.7432 GB, free: 88 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002083/0.5691, allocations: 222.3 kB / 0.7435 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005311/0.5696, allocations: 304.2 kB / 0.7437 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008794/0.5784, allocations: 4.886 MB / 0.7485 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.131e-05/0.5785, allocations: 7.938 kB / 0.7485 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003405/0.5789, allocations: 132 kB / 0.7487 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004418/0.5793, allocations: 229.7 kB / 0.7489 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006306/0.5856, allocations: 3.75 MB / 0.7525 GB, free: 6.363 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02394/0.6096, allocations: 21.57 MB / 0.7736 GB, free: 14.79 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001837/0.6115, allocations: 1.309 MB / 0.7749 GB, free: 13.47 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001406/0.6129, allocations: 1.042 MB / 0.7759 GB, free: 12.43 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.001e-05/0.613, allocations: 17 kB / 0.7759 GB, free: 12.41 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.528e-05/0.6131, allocations: 47.55 kB / 0.776 GB, free: 12.36 MB / 0.545 GB Notification: Performance of pre-optimization done (n=107): time 3.667e-06/0.6131, allocations: 0 / 0.776 GB, free: 12.36 MB / 0.545 GB Notification: Performance of matching and sorting (n=138): time 0.02555/0.6386, allocations: 8.645 MB / 0.7844 GB, free: 3.656 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.164e-05/0.6387, allocations: 72.66 kB / 0.7845 GB, free: 3.574 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001815/0.6405, allocations: 1.134 MB / 0.7856 GB, free: 2.434 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001912/0.6408, allocations: 49.7 kB / 0.7856 GB, free: 2.379 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000933/0.6417, allocations: 1.3 MB / 0.7869 GB, free: 1.062 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005903/0.6423, allocations: 477 kB / 0.7873 GB, free: 0.5898 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000582/0.6429, allocations: 291.3 kB / 0.7876 GB, free: 308 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.643, allocations: 305.1 kB / 0.7879 GB, free: 0 / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00139/0.6444, allocations: 0.9135 MB / 0.7888 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001727/0.6462, allocations: 1.334 MB / 0.7901 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003261/0.6494, allocations: 2.422 MB / 0.7925 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-05/0.6495, allocations: 4 kB / 0.7925 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006415/0.6559, allocations: 3.468 MB / 0.7959 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.77e-05/0.656, allocations: 12 kB / 0.7959 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.395e-05/0.656, allocations: 12 kB / 0.7959 GB, free: 7.469 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003303/0.6593, allocations: 1.19 MB / 0.7971 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/0.6603, allocations: 259.6 kB / 0.7973 GB, free: 6.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01842/0.6788, allocations: 13.84 MB / 0.8108 GB, free: 7.766 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001544/0.6804, allocations: 87.97 kB / 0.8109 GB, free: 7.68 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002755/0.6807, allocations: 63.94 kB / 0.811 GB, free: 7.617 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002172/0.6828, allocations: 1.118 MB / 0.8121 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000479/0.6833, allocations: 158.1 kB / 0.8122 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006038/0.6894, allocations: 3.177 MB / 0.8153 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.531e-05/0.6894, allocations: 16 kB / 0.8153 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-05/0.6895, allocations: 19.94 kB / 0.8153 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.533e-05/0.6895, allocations: 3.984 kB / 0.8153 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0118/0.7013, allocations: 6.237 MB / 0.8214 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.31e-05/0.7013, allocations: 4 kB / 0.8214 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006185/0.702, allocations: 155.8 kB / 0.8216 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002944/0.7049, allocations: 1.085 MB / 0.8226 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001315/0.7051, allocations: 24 kB / 0.8227 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01715/0.7222, allocations: 13.54 MB / 0.8359 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.005e-06/0.7223, allocations: 8 kB / 0.8359 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005657/0.7279, allocations: 3.15 MB / 0.839 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001019/0.729, allocations: 423.5 kB / 0.8394 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004524/0.7295, allocations: 35.78 kB / 0.8394 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001114/0.7306, allocations: 91.89 kB / 0.8395 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000387/0.731, allocations: 124.7 kB / 0.8396 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001032/0.7311, allocations: 40 kB / 0.8397 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001229/0.7323, allocations: 0.7671 MB / 0.8404 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.41e-07/0.7324, allocations: 0 / 0.8404 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002498/0.7349, allocations: 0.6562 MB / 0.8411 GB, free: 8.09 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002736/0.7351, allocations: 139.1 kB / 0.8412 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.006038/0.7412, allocations: 3.634 MB / 0.8447 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 9.888e-06/0.7412, allocations: 0.75 kB / 0.8447 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.003146/0.7444, allocations: 1.951 MB / 0.8466 GB, free: 2.285 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002849/0.7473, allocations: 0.5035 MB / 0.8471 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01252/0.7598, allocations: 5.867 MB / 0.8529 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003288/0.7631, allocations: 2.391 MB / 0.8552 GB, free: 9.434 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000415/0.7636, allocations: 95.44 kB / 0.8553 GB, free: 9.34 MB / 0.6231 GB Notification: Performance of SimCode: time 7.81e-07/0.7636, allocations: 0 / 0.8553 GB, free: 9.34 MB / 0.6231 GB Notification: Performance of Templates: time 0.08933/0.8529, allocations: 79.45 MB / 0.9329 GB, free: 9.953 MB / 0.7012 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)