Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001178/0.001178, allocations: 197.5 kB / 16.14 MB, free: 6.66 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.306/1.306, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002063/0.002063, allocations: 282.8 kB / 290.2 MB, free: 2.195 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9377/0.9377, allocations: 169.2 MB / 0.4977 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001718/0.001718, allocations: 94.25 kB / 0.5945 GB, free: 28.38 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.15, allocations: 86.99 MB / 0.6795 GB, free: 1.184 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03583/0.1859, allocations: 34.51 MB / 0.7132 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01792/0.2039, allocations: 11.5 MB / 0.7244 GB, free: 3.055 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003331/0.2073, allocations: 155.2 kB / 0.7245 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00972/0.217, allocations: 3.979 MB / 0.7284 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.006365/0.2234, allocations: 1.863 MB / 0.7302 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.006172/0.2296, allocations: 2.181 MB / 0.7324 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01278/0.2424, allocations: 12.41 MB / 0.7445 GB, free: 14.43 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01753/0.26, allocations: 12.33 MB / 0.7565 GB, free: 1.992 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005313/0.2653, allocations: 3.188 MB / 0.7596 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006522/0.2719, allocations: 4.272 MB / 0.7638 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.002076/0.274, allocations: 0.5469 MB / 0.7643 GB, free: 9.961 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005345/0.2794, allocations: 2.122 MB / 0.7664 GB, free: 7.836 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.004259/0.2836, allocations: 2.814 MB / 0.7692 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.005665/0.2893, allocations: 3.142 MB / 0.7722 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.5355/0.8248, allocations: 11.82 MB / 0.7838 GB, free: 38.41 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.8249, allocations: 0.6562 kB / 0.7838 GB, free: 38.41 MB / 0.5607 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8249, allocations: 0 / 0.7838 GB, free: 38.41 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 0.0004407/0.8254, allocations: 0.9688 kB / 0.7838 GB, free: 38.41 MB / 0.5607 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.0201/0.8455, allocations: 5.794 MB / 0.7894 GB, free: 36.35 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.8455, allocations: 9.281 kB / 0.7894 GB, free: 36.35 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007689/0.8532, allocations: 1.057 MB / 0.7905 GB, free: 36.05 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007447/0.8607, allocations: 3.257 MB / 0.7937 GB, free: 35.4 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000284/0.861, allocations: 422.1 kB / 0.7941 GB, free: 35.38 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002384/0.8634, allocations: 0.5376 MB / 0.7946 GB, free: 35.38 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02449/0.8879, allocations: 9.072 MB / 0.8034 GB, free: 34.36 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002605/0.8882, allocations: 35.94 kB / 0.8035 GB, free: 34.35 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00196/0.8902, allocations: 236.5 kB / 0.8037 GB, free: 34.35 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004667/0.8906, allocations: 347.3 kB / 0.804 GB, free: 34.34 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0141/0.9048, allocations: 6.828 MB / 0.8107 GB, free: 34.29 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03514/0.9399, allocations: 40.12 MB / 0.8499 GB, free: 15.58 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003129/0.9431, allocations: 3.105 MB / 0.8529 GB, free: 13.49 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00226/0.9454, allocations: 1.964 MB / 0.8548 GB, free: 12.48 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 9.907e-05/0.9455, allocations: 17.62 kB / 0.8549 GB, free: 12.48 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.275e-05/0.9456, allocations: 59.59 kB / 0.8549 GB, free: 12.42 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=179): time 4.218e-06/0.9456, allocations: 0 / 0.8549 GB, free: 12.42 MB / 0.5763 GB Notification: Performance of matching and sorting (n=182): time 0.02294/0.9685, allocations: 9.973 MB / 0.8647 GB, free: 6.781 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/0.9686, allocations: 70.91 kB / 0.8647 GB, free: 6.719 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001838/0.9704, allocations: 1.53 MB / 0.8662 GB, free: 5.844 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0001204/0.9706, allocations: 53.52 kB / 0.8663 GB, free: 5.793 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.001196/0.9718, allocations: 2.254 MB / 0.8685 GB, free: 3.816 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005051/0.9723, allocations: 0.6339 MB / 0.8691 GB, free: 3.273 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005536/0.9728, allocations: 408.5 kB / 0.8695 GB, free: 3.047 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 8.421e-05/0.9729, allocations: 305.1 kB / 0.8698 GB, free: 2.746 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0014/0.9743, allocations: 1.173 MB / 0.8709 GB, free: 2.133 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001972/0.9763, allocations: 1.891 MB / 0.8728 GB, free: 192 kB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003999/0.9803, allocations: 3.369 MB / 0.876 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.061e-05/0.9803, allocations: 7.188 kB / 0.8761 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.007085/0.9874, allocations: 4.579 MB / 0.8805 GB, free: 8.176 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.713e-05/0.9875, allocations: 18.53 kB / 0.8805 GB, free: 8.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.649e-05/0.9875, allocations: 24 kB / 0.8806 GB, free: 8.137 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003634/0.9912, allocations: 1.581 MB / 0.8821 GB, free: 6.555 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/0.9923, allocations: 350.7 kB / 0.8824 GB, free: 6.238 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02014/1.012, allocations: 17.02 MB / 0.8991 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00176/1.014, allocations: 119.9 kB / 0.8992 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000175/1.014, allocations: 92 kB / 0.8993 GB, free: 4.547 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (177): * Single equations (assignments): 173 * 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003465/1.018, allocations: 1.907 MB / 0.9011 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004771/1.018, allocations: 229 kB / 0.9013 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006537/1.025, allocations: 4.092 MB / 0.9053 GB, free: 14.38 MB / 0.6232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.902e-05/1.025, allocations: 19.98 kB / 0.9054 GB, free: 14.36 MB / 0.6232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.825e-05/1.025, allocations: 19.22 kB / 0.9054 GB, free: 14.34 MB / 0.6232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.477e-05/1.025, allocations: 11.97 kB / 0.9054 GB, free: 14.33 MB / 0.6232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01438/1.039, allocations: 9.468 MB / 0.9146 GB, free: 4.727 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/1.039, allocations: 4 kB / 0.9146 GB, free: 4.723 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007512/1.04, allocations: 186.3 kB / 0.9148 GB, free: 4.551 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00336/1.044, allocations: 1.359 MB / 0.9161 GB, free: 3.188 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001299/1.044, allocations: 36 kB / 0.9162 GB, free: 3.152 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0188/1.062, allocations: 15.94 MB / 0.9317 GB, free: 2.734 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/1.063, allocations: 7.844 kB / 0.9317 GB, free: 2.73 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006469/1.069, allocations: 4.067 MB / 0.9357 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001011/1.07, allocations: 0.5295 MB / 0.9362 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000261/1.07, allocations: 39.98 kB / 0.9363 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008504/1.071, allocations: 83.89 kB / 0.9364 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004257/1.072, allocations: 168.9 kB / 0.9365 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001154/1.072, allocations: 51.38 kB / 0.9366 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001284/1.073, allocations: 0.9968 MB / 0.9375 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of sort global known variables: time 4e-07/1.073, allocations: 4 kB / 0.9375 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.005025/1.078, allocations: 0.9844 MB / 0.9385 GB, free: 11.74 MB / 0.6544 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 (85): * Single equations (assignments): 81 * 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 {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003813/1.078, allocations: 150.5 kB / 0.9386 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01016/1.089, allocations: 4.274 MB / 0.9428 GB, free: 7.348 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/1.089, allocations: 0 / 0.9428 GB, free: 7.348 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.006533/1.095, allocations: 2.659 MB / 0.9454 GB, free: 4.672 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005248/1.1, allocations: 0.7191 MB / 0.9461 GB, free: 3.965 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02484/1.125, allocations: 11.01 MB / 0.9569 GB, free: 8.906 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005768/1.131, allocations: 3.569 MB / 0.9604 GB, free: 5.301 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002314/1.134, allocations: 463.9 kB / 0.9608 GB, free: 4.844 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004795/1.134, allocations: 119.4 kB / 0.9609 GB, free: 4.727 MB / 0.67 GB Notification: Performance of SimCode: time 1.492e-06/1.134, allocations: 0 / 0.9609 GB, free: 4.727 MB / 0.67 GB Notification: Performance of Templates: time 0.07058/1.205, allocations: 42.71 MB / 1.003 GB, free: 10.58 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)