Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008684/0.0008685, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005052/0.005052, allocations: 170.1 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.391/1.391, allocations: 205.4 MB / 222.4 MB, free: 5.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.628/1.628, allocations: 252 MB / 0.5105 GB, free: 4.609 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005396/0.0005395, allocations: 16 kB / 0.6249 GB, free: 0.6836 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5518/0.5523, allocations: 106.3 MB / 0.7287 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02322/0.5756, allocations: 22.56 MB / 0.7508 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01194/0.5876, allocations: 6.489 MB / 0.7571 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002637/0.5903, allocations: 83.5 kB / 0.7572 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002018/0.5923, allocations: 464.5 kB / 0.7576 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004672/0.597, allocations: 1.739 MB / 0.7593 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002871/0.5999, allocations: 1.202 MB / 0.7605 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01047/0.6104, allocations: 10.55 MB / 0.7708 GB, free: 60 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01203/0.6225, allocations: 8.053 MB / 0.7787 GB, free: 7.922 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004317/0.6268, allocations: 2.058 MB / 0.7807 GB, free: 5.855 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004671/0.6315, allocations: 3.181 MB / 0.7838 GB, free: 2.664 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0005961/0.6321, allocations: 244 kB / 0.784 GB, free: 2.426 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002174/0.6343, allocations: 1.061 MB / 0.785 GB, free: 1.363 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.002118/0.6364, allocations: 2.097 MB / 0.7871 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.00275/0.6392, allocations: 2.12 MB / 0.7892 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.008736/0.6479, allocations: 8.126 MB / 0.7971 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.856e-06/0.648, allocations: 0 / 0.7971 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.865e-06/0.648, allocations: 0 / 0.7971 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0003411/0.6484, allocations: 0 / 0.7971 GB, free: 4.973 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.009026/0.6574, allocations: 3.562 MB / 0.8006 GB, free: 1.344 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.6575, allocations: 12.03 kB / 0.8006 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009565/0.667, allocations: 1.685 MB / 0.8022 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005474/0.6725, allocations: 2.567 MB / 0.8047 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002673/0.6728, allocations: 279.7 kB / 0.805 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001016/0.6738, allocations: 360.2 kB / 0.8053 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01286/0.6867, allocations: 7.495 MB / 0.8127 GB, free: 4.633 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.251e-05/0.6868, allocations: 11.88 kB / 0.8127 GB, free: 4.621 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004374/0.6873, allocations: 159.9 kB / 0.8128 GB, free: 4.465 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005748/0.6879, allocations: 483.3 kB / 0.8133 GB, free: 3.992 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009334/0.6972, allocations: 5.697 MB / 0.8189 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03676/0.734, allocations: 31.69 MB / 0.8498 GB, free: 11.83 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00311/0.7372, allocations: 2.086 MB / 0.8518 GB, free: 9.734 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003242/0.7404, allocations: 2.167 MB / 0.854 GB, free: 7.566 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001446/0.7406, allocations: 17.31 kB / 0.854 GB, free: 7.547 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/0.7406, allocations: 47.88 kB / 0.854 GB, free: 7.492 MB / 0.67 GB Notification: Performance of pre-optimization done (n=146): time 3.096e-06/0.7407, allocations: 0 / 0.854 GB, free: 7.492 MB / 0.67 GB Notification: Performance of matching and sorting (n=251): time 0.7792/1.52, allocations: 75.27 MB / 0.9275 GB, free: 162.2 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.492e-05/1.52, allocations: 78.97 kB / 0.9276 GB, free: 162.1 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00235/1.522, allocations: 1.668 MB / 0.9292 GB, free: 161.2 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0003897/1.523, allocations: 69.16 kB / 0.9293 GB, free: 161.1 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008028/1.524, allocations: 1.75 MB / 0.931 GB, free: 159.6 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007118/1.524, allocations: 0.8463 MB / 0.9318 GB, free: 158.9 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003457/1.525, allocations: 208.7 kB / 0.932 GB, free: 158.7 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.667e-05/1.525, allocations: 305.1 kB / 0.9323 GB, free: 158.4 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003097/1.528, allocations: 2.731 MB / 0.935 GB, free: 157 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003253/1.531, allocations: 3.333 MB / 0.9382 GB, free: 154.1 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006566/1.538, allocations: 6.389 MB / 0.9445 GB, free: 147.4 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.537e-06/1.538, allocations: 7.938 kB / 0.9445 GB, free: 147.4 MB / 0.7169 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.02863/1.566, allocations: 14.68 MB / 0.9588 GB, free: 132.7 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.18e-05/1.566, allocations: 12 kB / 0.9588 GB, free: 132.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.219e-05/1.566, allocations: 16 kB / 0.9588 GB, free: 132.7 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0274/1.594, allocations: 9.244 MB / 0.9679 GB, free: 123.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001227/1.595, allocations: 299.4 kB / 0.9682 GB, free: 123.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06539/1.66, allocations: 47.14 MB / 1.014 GB, free: 75.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003293/1.664, allocations: 219.7 kB / 1.014 GB, free: 74.94 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006173/1.664, allocations: 96 kB / 1.014 GB, free: 74.85 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003233/1.668, allocations: 1.59 MB / 1.016 GB, free: 73.25 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008442/1.669, allocations: 241.5 kB / 1.016 GB, free: 73.01 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03047/1.699, allocations: 14.76 MB / 1.031 GB, free: 58.19 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.051e-05/1.699, allocations: 24 kB / 1.031 GB, free: 58.17 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001623/1.699, allocations: 44 kB / 1.031 GB, free: 58.12 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-05/1.699, allocations: 15.89 kB / 1.031 GB, free: 58.11 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04034/1.74, allocations: 20.53 MB / 1.051 GB, free: 37.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.53e-05/1.74, allocations: 8 kB / 1.051 GB, free: 37.42 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007117/1.74, allocations: 163.8 kB / 1.051 GB, free: 37.26 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02712/1.768, allocations: 8.996 MB / 1.06 GB, free: 28.24 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005382/1.768, allocations: 48 kB / 1.06 GB, free: 28.19 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06766/1.836, allocations: 46.75 MB / 1.105 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.036e-05/1.836, allocations: 11.94 kB / 1.105 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03321/1.869, allocations: 14.37 MB / 1.12 GB, free: 14.1 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0022/1.871, allocations: 0.8455 MB / 1.12 GB, free: 13.23 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008378/1.872, allocations: 51.98 kB / 1.12 GB, free: 13.18 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002531/1.875, allocations: 204.8 kB / 1.121 GB, free: 12.98 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001349/1.876, allocations: 245.5 kB / 1.121 GB, free: 12.74 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00027/1.876, allocations: 64 kB / 1.121 GB, free: 12.68 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001725/1.878, allocations: 1.125 MB / 1.122 GB, free: 11.53 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.3e-07/1.878, allocations: 0 / 1.122 GB, free: 11.53 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.005131/1.883, allocations: 1.594 MB / 1.124 GB, free: 9.938 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004869/1.884, allocations: 168.7 kB / 1.124 GB, free: 9.766 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.02237/1.906, allocations: 10.37 MB / 1.134 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 9.428e-06/1.906, allocations: 0 / 1.134 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.01742/1.924, allocations: 7.161 MB / 1.141 GB, free: 8.109 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004836/1.929, allocations: 0.5206 MB / 1.141 GB, free: 7.59 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01494/1.943, allocations: 10.61 MB / 1.152 GB, free: 12.91 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003468/1.947, allocations: 3.22 MB / 1.155 GB, free: 9.648 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001209/1.948, allocations: 387.3 kB / 1.155 GB, free: 9.266 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002538/1.948, allocations: 103.4 kB / 1.155 GB, free: 9.164 MB / 0.795 GB Notification: Performance of SimCode: time 1.032e-06/1.949, allocations: 3.938 kB / 1.155 GB, free: 9.16 MB / 0.795 GB Notification: Performance of Templates: time 0.575/2.523, allocations: 86.18 MB / 1.239 GB, free: 279 MB / 0.8575 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) Environment - environmentSimulation: