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.001348/0.001347, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001519/0.00152, allocations: 192.2 kB / 16.25 MB, free: 6.625 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.305/1.305, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002121/0.002121, allocations: 294.7 kB / 290.4 MB, free: 2.121 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9336/0.9336, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001629/0.001629, allocations: 95.05 kB / 0.5947 GB, free: 28.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1512, allocations: 86.98 MB / 0.6796 GB, free: 1.047 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03707/0.1883, allocations: 34.5 MB / 0.7133 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01803/0.2064, allocations: 11.39 MB / 0.7245 GB, free: 3.035 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002859/0.2093, allocations: 147.2 kB / 0.7246 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.009663/0.2189, allocations: 4.01 MB / 0.7285 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.005139/0.2241, allocations: 1.824 MB / 0.7303 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00526/0.2294, allocations: 2.177 MB / 0.7324 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.009588/0.239, allocations: 8.491 MB / 0.7407 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01796/0.257, allocations: 13.44 MB / 0.7538 GB, free: 4.801 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006164/0.2632, allocations: 3.797 MB / 0.7575 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006113/0.2693, allocations: 4.389 MB / 0.7618 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.001437/0.2708, allocations: 0.7812 MB / 0.7626 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004108/0.2749, allocations: 2.028 MB / 0.7646 GB, free: 9.777 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.003234/0.2781, allocations: 3.049 MB / 0.7676 GB, free: 6.723 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.004782/0.2829, allocations: 3.404 MB / 0.7709 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.5553/0.8382, allocations: 12.01 MB / 0.7826 GB, free: 40.34 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.8382, allocations: 0.8438 kB / 0.7826 GB, free: 40.34 MB / 0.5607 GB Notification: Performance of FrontEnd: time 1.864e-06/0.8383, allocations: 0 / 0.7826 GB, free: 40.34 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 0.000374/0.8386, allocations: 0.8125 kB / 0.7826 GB, free: 40.34 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.01867/0.8573, allocations: 5.795 MB / 0.7883 GB, free: 38.28 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.8574, allocations: 11.91 kB / 0.7883 GB, free: 38.28 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007846/0.8652, allocations: 1.061 MB / 0.7893 GB, free: 37.98 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007284/0.8725, allocations: 3.257 MB / 0.7925 GB, free: 37.32 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003484/0.8729, allocations: 411.4 kB / 0.7929 GB, free: 37.31 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002298/0.8752, allocations: 0.5358 MB / 0.7934 GB, free: 37.31 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02466/0.8999, allocations: 9.075 MB / 0.8023 GB, free: 36.3 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006057/0.9005, allocations: 35.66 kB / 0.8023 GB, free: 36.29 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002819/0.9034, allocations: 237.6 kB / 0.8025 GB, free: 36.29 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004732/0.9039, allocations: 349 kB / 0.8029 GB, free: 36.27 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01492/0.9188, allocations: 6.826 MB / 0.8095 GB, free: 35.79 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04064/0.9595, allocations: 40.11 MB / 0.8487 GB, free: 15.32 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003545/0.963, allocations: 3.115 MB / 0.8518 GB, free: 13.23 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002353/0.9654, allocations: 1.962 MB / 0.8537 GB, free: 12.22 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001144/0.9655, allocations: 17.25 kB / 0.8537 GB, free: 12.22 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.674e-05/0.9656, allocations: 59.95 kB / 0.8537 GB, free: 12.16 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=179): time 3.988e-06/0.9656, allocations: 4 kB / 0.8537 GB, free: 12.16 MB / 0.5763 GB Notification: Performance of matching and sorting (n=182): time 0.02349/0.9891, allocations: 9.972 MB / 0.8635 GB, free: 6.52 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.25e-05/0.9892, allocations: 70.94 kB / 0.8636 GB, free: 6.457 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002147/0.9913, allocations: 1.536 MB / 0.8651 GB, free: 5.582 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0001346/0.9915, allocations: 53.58 kB / 0.8651 GB, free: 5.527 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.001255/0.9927, allocations: 2.25 MB / 0.8673 GB, free: 3.559 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005119/0.9933, allocations: 0.6323 MB / 0.8679 GB, free: 3.016 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005926/0.9939, allocations: 414.1 kB / 0.8683 GB, free: 2.785 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 8.584e-05/0.994, allocations: 305.1 kB / 0.8686 GB, free: 2.484 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001479/0.9955, allocations: 1.18 MB / 0.8698 GB, free: 1.867 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001952/0.9974, allocations: 1.882 MB / 0.8716 GB, free: 340 kB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003996/1.001, allocations: 3.368 MB / 0.8749 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.727e-05/1.001, allocations: 4 kB / 0.8749 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.007502/1.009, allocations: 4.588 MB / 0.8794 GB, free: 8.328 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.59e-05/1.009, allocations: 17.97 kB / 0.8794 GB, free: 8.312 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.024e-05/1.009, allocations: 24 kB / 0.8794 GB, free: 8.289 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003805/1.013, allocations: 1.59 MB / 0.881 GB, free: 6.695 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001177/1.014, allocations: 355.1 kB / 0.8813 GB, free: 6.375 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02212/1.036, allocations: 18.59 MB / 0.8995 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001891/1.038, allocations: 123.9 kB / 0.8996 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003391/1.038, allocations: 92 kB / 0.8997 GB, free: 3.086 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.003303/1.042, allocations: 1.902 MB / 0.9015 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005108/1.042, allocations: 229.3 kB / 0.9017 GB, free: 0.9766 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006851/1.049, allocations: 4.093 MB / 0.9057 GB, free: 12.92 MB / 0.6232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.464e-05/1.049, allocations: 16 kB / 0.9057 GB, free: 12.9 MB / 0.6232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-05/1.049, allocations: 16 kB / 0.9058 GB, free: 12.89 MB / 0.6232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.5e-05/1.049, allocations: 7.969 kB / 0.9058 GB, free: 12.88 MB / 0.6232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01586/1.065, allocations: 9.478 MB / 0.915 GB, free: 3.27 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.15e-05/1.065, allocations: 4 kB / 0.915 GB, free: 3.266 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008058/1.066, allocations: 182.7 kB / 0.9152 GB, free: 3.098 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0034/1.069, allocations: 1.363 MB / 0.9165 GB, free: 1.73 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001293/1.07, allocations: 39.98 kB / 0.9166 GB, free: 1.691 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02051/1.09, allocations: 17.37 MB / 0.9335 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.683e-06/1.09, allocations: 4 kB / 0.9335 GB, free: 15.81 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007098/1.097, allocations: 4.069 MB / 0.9375 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001294/1.098, allocations: 0.5296 MB / 0.938 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005333/1.099, allocations: 40 kB / 0.9381 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001195/1.1, allocations: 83.89 kB / 0.9381 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000465/1.101, allocations: 164.9 kB / 0.9383 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001185/1.101, allocations: 51.38 kB / 0.9384 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001447/1.102, allocations: 1.005 MB / 0.9393 GB, free: 9.812 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.3e-07/1.102, allocations: 0 / 0.9393 GB, free: 9.812 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.003213/1.106, allocations: 0.9844 MB / 0.9403 GB, free: 8.828 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.0002475/1.106, allocations: 149.9 kB / 0.9404 GB, free: 8.684 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.007867/1.114, allocations: 5.185 MB / 0.9455 GB, free: 3.527 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/1.114, allocations: 8 kB / 0.9455 GB, free: 3.52 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0039/1.118, allocations: 2.673 MB / 0.9481 GB, free: 0.832 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003208/1.121, allocations: 0.7781 MB / 0.9489 GB, free: 108 kB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01591/1.137, allocations: 11.01 MB / 0.9596 GB, free: 5.035 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003672/1.14, allocations: 3.573 MB / 0.9631 GB, free: 1.426 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001501/1.142, allocations: 475.9 kB / 0.9636 GB, free: 0.957 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002939/1.142, allocations: 119.4 kB / 0.9637 GB, free: 0.8438 MB / 0.67 GB Notification: Performance of SimCode: time 1.062e-06/1.142, allocations: 0 / 0.9637 GB, free: 0.8438 MB / 0.67 GB Notification: Performance of Templates: time 0.07011/1.212, allocations: 44.24 MB / 1.007 GB, free: 5.223 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)