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.001493/0.001493, 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.00157/0.00157, allocations: 190.3 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.341/1.341, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002015/0.002015, allocations: 286.8 kB / 290.4 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9569/0.9569, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001582/0.001582, allocations: 88.11 kB / 0.5947 GB, free: 28.35 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1436, allocations: 86.99 MB / 0.6796 GB, free: 1.02 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02053/0.1641, allocations: 20.09 MB / 0.6993 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01012/0.1743, allocations: 6.375 MB / 0.7055 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001902/0.1762, allocations: 75.62 kB / 0.7056 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.005159/0.1814, allocations: 2.102 MB / 0.7076 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002945/0.1844, allocations: 1.093 MB / 0.7087 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002866/0.1873, allocations: 1.169 MB / 0.7098 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004837/0.1921, allocations: 4.873 MB / 0.7146 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008038/0.2002, allocations: 6.771 MB / 0.7212 GB, free: 6.316 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002788/0.203, allocations: 2.118 MB / 0.7233 GB, free: 4.191 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002949/0.2059, allocations: 2.461 MB / 0.7257 GB, free: 1.723 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0005738/0.2065, allocations: 432 kB / 0.7261 GB, free: 1.301 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001634/0.2082, allocations: 0.9947 MB / 0.727 GB, free: 312 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001341/0.2095, allocations: 1.661 MB / 0.7287 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.00184/0.2114, allocations: 1.914 MB / 0.7305 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.005273/0.2166, allocations: 6.532 MB / 0.7369 GB, free: 6.168 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.2167, allocations: 0 / 0.7369 GB, free: 6.168 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2167, allocations: 0 / 0.7369 GB, free: 6.168 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.000116/0.2168, allocations: 0 / 0.7369 GB, free: 6.168 MB / 0.5294 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.006091/0.2229, allocations: 3.455 MB / 0.7403 GB, free: 2.648 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.223, allocations: 8.031 kB / 0.7403 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003196/0.2262, allocations: 0.641 MB / 0.7409 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002838/0.229, allocations: 1.928 MB / 0.7428 GB, free: 8 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001468/0.2292, allocations: 222.4 kB / 0.743 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004106/0.2296, allocations: 300.2 kB / 0.7433 GB, free: 15.49 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006943/0.2365, allocations: 4.89 MB / 0.7481 GB, free: 10.41 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.069e-05/0.2366, allocations: 15.81 kB / 0.7481 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002918/0.2369, allocations: 128 kB / 0.7482 GB, free: 10.27 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003765/0.2373, allocations: 229.7 kB / 0.7484 GB, free: 10.04 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005354/0.2427, allocations: 3.75 MB / 0.7521 GB, free: 6.281 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2761/0.5188, allocations: 21.57 MB / 0.7732 GB, free: 85.04 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001835/0.5207, allocations: 1.301 MB / 0.7744 GB, free: 85 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001459/0.5221, allocations: 1.05 MB / 0.7755 GB, free: 85 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.996e-05/0.5222, allocations: 15.56 kB / 0.7755 GB, free: 85 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/0.5223, allocations: 45.7 kB / 0.7755 GB, free: 84.96 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=107): time 2.765e-06/0.5223, allocations: 0 / 0.7755 GB, free: 84.96 MB / 0.5606 GB Notification: Performance of matching and sorting (n=138): time 0.02238/0.5447, allocations: 8.646 MB / 0.784 GB, free: 83.29 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.449e-05/0.5447, allocations: 67.08 kB / 0.784 GB, free: 83.22 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001378/0.5461, allocations: 1.134 MB / 0.7851 GB, free: 82.77 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.729e-05/0.5462, allocations: 52.86 kB / 0.7852 GB, free: 82.72 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006056/0.5468, allocations: 1.293 MB / 0.7864 GB, free: 81.74 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002856/0.5471, allocations: 485.8 kB / 0.7869 GB, free: 81.37 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004139/0.5475, allocations: 288.9 kB / 0.7872 GB, free: 81.23 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.904e-05/0.5476, allocations: 303 kB / 0.7875 GB, free: 80.94 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001101/0.5487, allocations: 0.9146 MB / 0.7884 GB, free: 80.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00123/0.5499, allocations: 1.326 MB / 0.7897 GB, free: 79.77 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002574/0.5525, allocations: 2.429 MB / 0.792 GB, free: 78.39 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.764e-06/0.5525, allocations: 2.906 kB / 0.792 GB, free: 78.39 MB / 0.5606 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005746/0.5583, allocations: 3.466 MB / 0.7954 GB, free: 77.02 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/0.5583, allocations: 14.06 kB / 0.7954 GB, free: 77.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.117e-05/0.5584, allocations: 16.97 kB / 0.7954 GB, free: 77.01 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003018/0.5614, allocations: 1.189 MB / 0.7966 GB, free: 76.71 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008679/0.5623, allocations: 258.5 kB / 0.7969 GB, free: 76.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01423/0.5765, allocations: 13.85 MB / 0.8104 GB, free: 67.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001362/0.5779, allocations: 87.52 kB / 0.8105 GB, free: 67.15 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001198/0.578, allocations: 67.48 kB / 0.8105 GB, free: 67.14 MB / 0.5606 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.001507/0.5795, allocations: 1.112 MB / 0.8116 GB, free: 66.43 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002488/0.5798, allocations: 168.5 kB / 0.8118 GB, free: 66.34 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004696/0.5845, allocations: 3.169 MB / 0.8149 GB, free: 64.48 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.256e-05/0.5845, allocations: 12.09 kB / 0.8149 GB, free: 64.48 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.651e-05/0.5845, allocations: 12.94 kB / 0.8149 GB, free: 64.48 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.203e-05/0.5846, allocations: 11.97 kB / 0.8149 GB, free: 64.47 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008231/0.5928, allocations: 6.243 MB / 0.821 GB, free: 60.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.057e-05/0.5928, allocations: 3.75 kB / 0.821 GB, free: 60.71 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005069/0.5934, allocations: 149.6 kB / 0.8211 GB, free: 60.67 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002505/0.5959, allocations: 1.085 MB / 0.8222 GB, free: 60.13 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.859e-05/0.596, allocations: 24 kB / 0.8222 GB, free: 60.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0122/0.6082, allocations: 13.55 MB / 0.8355 GB, free: 46.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/0.6082, allocations: 7.938 kB / 0.8355 GB, free: 46.15 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00457/0.6128, allocations: 3.158 MB / 0.8386 GB, free: 42.91 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005827/0.6134, allocations: 425.8 kB / 0.839 GB, free: 42.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001859/0.6136, allocations: 31.94 kB / 0.839 GB, free: 42.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007052/0.6143, allocations: 83.89 kB / 0.8391 GB, free: 42.37 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002751/0.6146, allocations: 120.7 kB / 0.8392 GB, free: 42.25 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.42e-05/0.6147, allocations: 47.94 kB / 0.8392 GB, free: 42.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007535/0.6154, allocations: 0.7632 MB / 0.84 GB, free: 41.44 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.21e-07/0.6154, allocations: 0 / 0.84 GB, free: 41.44 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001658/0.6171, allocations: 0.6602 MB / 0.8406 GB, free: 40.78 MB / 0.5606 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.0001809/0.6173, allocations: 140.8 kB / 0.8408 GB, free: 40.63 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.004344/0.6216, allocations: 3.627 MB / 0.8443 GB, free: 36.98 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.6216, allocations: 4 kB / 0.8443 GB, free: 36.97 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002198/0.6238, allocations: 1.951 MB / 0.8462 GB, free: 34.98 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001791/0.6257, allocations: 0.4993 MB / 0.8467 GB, free: 34.53 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006711/0.6324, allocations: 6.736 MB / 0.8533 GB, free: 27.73 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001523/0.6339, allocations: 2.345 MB / 0.8556 GB, free: 25.36 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008942/0.6348, allocations: 352.8 kB / 0.8559 GB, free: 25.02 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001934/0.635, allocations: 87.44 kB / 0.856 GB, free: 24.94 MB / 0.5606 GB Notification: Performance of SimCode: time 4.11e-07/0.635, allocations: 0 / 0.856 GB, free: 24.94 MB / 0.5606 GB Notification: Performance of Templates: time 0.04377/0.6788, allocations: 32.85 MB / 0.8881 GB, free: 8.594 MB / 0.5762 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)