Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 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.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001318/0.001318, allocations: 106.7 kB / 16.41 MB, free: 6.465 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.00126/0.00126, allocations: 187 kB / 17.34 MB, free: 5.723 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.379/1.379, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002136/0.002137, allocations: 282.8 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.942/0.942, allocations: 169.2 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001743/0.001743, allocations: 95.86 kB / 0.6821 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.408/0.4097, allocations: 86.98 MB / 0.7671 GB, free: 3.781 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02609/0.4358, allocations: 23.4 MB / 0.7899 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01237/0.4483, allocations: 6.484 MB / 0.7962 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002167/0.4505, allocations: 95.5 kB / 0.7963 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004362/0.4548, allocations: 1.492 MB / 0.7978 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004719/0.4596, allocations: 1.824 MB / 0.7996 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004187/0.4638, allocations: 1.469 MB / 0.801 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.008384/0.4722, allocations: 6.908 MB / 0.8078 GB, free: 9.98 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009854/0.4821, allocations: 6.933 MB / 0.8145 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004706/0.4868, allocations: 2.878 MB / 0.8173 GB, free: 68 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005694/0.4925, allocations: 3.47 MB / 0.8207 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001538/0.4941, allocations: 0.5273 MB / 0.8212 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003374/0.4975, allocations: 1.182 MB / 0.8224 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.003902/0.5014, allocations: 2.464 MB / 0.8248 GB, free: 8.406 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.005368/0.5068, allocations: 2.532 MB / 0.8273 GB, free: 5.863 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01115/0.518, allocations: 8.521 MB / 0.8356 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.5181, allocations: 0 / 0.8356 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.794e-06/0.5181, allocations: 3.938 kB / 0.8356 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0003313/0.5184, allocations: 0 / 0.8356 GB, free: 13.32 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.01222/0.5306, allocations: 4.439 MB / 0.8399 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.5307, allocations: 8.031 kB / 0.8399 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009487/0.5402, allocations: 1.677 MB / 0.8416 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00572/0.546, allocations: 2.692 MB / 0.8442 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002683/0.5462, allocations: 275.7 kB / 0.8445 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001372/0.5476, allocations: 368.3 kB / 0.8448 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01504/0.5627, allocations: 7.495 MB / 0.8521 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000146/0.5629, allocations: 7.938 kB / 0.8521 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009698/0.5638, allocations: 155.9 kB / 0.8523 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006621/0.5645, allocations: 487.3 kB / 0.8528 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01186/0.5764, allocations: 5.701 MB / 0.8583 GB, free: 5.641 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03838/0.6148, allocations: 31.5 MB / 0.8891 GB, free: 3.367 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003013/0.6179, allocations: 2.09 MB / 0.8911 GB, free: 1.266 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003076/0.621, allocations: 2.182 MB / 0.8933 GB, free: 15.08 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001861/0.6212, allocations: 21.25 kB / 0.8933 GB, free: 15.06 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.6212, allocations: 51.88 kB / 0.8933 GB, free: 15 MB / 0.67 GB Notification: Performance of pre-optimization done (n=146): time 3.938e-06/0.6212, allocations: 0 / 0.8933 GB, free: 15 MB / 0.67 GB Notification: Performance of matching and sorting (n=251): time 0.3216/0.9428, allocations: 77 MB / 0.9685 GB, free: 1.848 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.598e-05/0.943, allocations: 77.41 kB / 0.9686 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003042/0.946, allocations: 1.681 MB / 0.9702 GB, free: 32 kB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.345/1.291, allocations: 66.23 kB / 0.9703 GB, free: 186.4 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001326/1.292, allocations: 1.743 MB / 0.972 GB, free: 186 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008448/1.293, allocations: 0.8549 MB / 0.9728 GB, free: 185.4 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001196/1.294, allocations: 484.9 kB / 0.9733 GB, free: 185.2 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 6.913e-05/1.295, allocations: 302.6 kB / 0.9736 GB, free: 184.9 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004313/1.299, allocations: 2.729 MB / 0.9763 GB, free: 183.9 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004158/1.303, allocations: 3.326 MB / 0.9795 GB, free: 182.3 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007144/1.31, allocations: 6.401 MB / 0.9858 GB, free: 179.3 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.519e-05/1.31, allocations: 7.875 kB / 0.9858 GB, free: 179.3 MB / 0.7325 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.02856/1.339, allocations: 14.67 MB / 1 GB, free: 175 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.424e-05/1.339, allocations: 19.94 kB / 1 GB, free: 175 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.364e-05/1.339, allocations: 16 kB / 1 GB, free: 175 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02626/1.365, allocations: 9.239 MB / 1.009 GB, free: 166 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001155/1.366, allocations: 303.4 kB / 1.009 GB, free: 165.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06477/1.431, allocations: 52.32 MB / 1.061 GB, free: 112.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00281/1.434, allocations: 231.6 kB / 1.061 GB, free: 112.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002439/1.434, allocations: 96 kB / 1.061 GB, free: 112.3 MB / 0.7325 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.002056/1.436, allocations: 1.59 MB / 1.062 GB, free: 110.7 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004567/1.437, allocations: 241.1 kB / 1.063 GB, free: 110.4 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02859/1.465, allocations: 14.76 MB / 1.077 GB, free: 95.61 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-05/1.465, allocations: 24 kB / 1.077 GB, free: 95.58 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001114/1.466, allocations: 44 kB / 1.077 GB, free: 95.54 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.544e-05/1.466, allocations: 18.25 kB / 1.077 GB, free: 95.52 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03516/1.501, allocations: 20.52 MB / 1.097 GB, free: 74.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.458e-05/1.501, allocations: 4.125 kB / 1.097 GB, free: 74.86 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007145/1.502, allocations: 175.7 kB / 1.097 GB, free: 74.68 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02629/1.528, allocations: 9 MB / 1.106 GB, free: 65.66 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004773/1.528, allocations: 48 kB / 1.106 GB, free: 65.61 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06679/1.595, allocations: 51.92 MB / 1.157 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/1.595, allocations: 8 kB / 1.157 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02943/1.625, allocations: 14.36 MB / 1.171 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002046/1.627, allocations: 0.8416 MB / 1.172 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007766/1.628, allocations: 48 kB / 1.172 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002455/1.63, allocations: 211.7 kB / 1.172 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001344/1.631, allocations: 237.4 kB / 1.172 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002468/1.632, allocations: 68 kB / 1.172 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001698/1.633, allocations: 1.129 MB / 1.173 GB, free: 11.76 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.7e-07/1.633, allocations: 0 / 1.173 GB, free: 11.76 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.005888/1.639, allocations: 1.613 MB / 1.175 GB, free: 10.14 MB / 0.7481 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.0007072/1.64, allocations: 167 kB / 1.175 GB, free: 9.969 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.02443/1.664, allocations: 10.56 MB / 1.185 GB, free: 15.36 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 9.858e-06/1.664, allocations: 0 / 1.185 GB, free: 15.36 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.01922/1.684, allocations: 7.301 MB / 1.193 GB, free: 7.996 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003716/1.687, allocations: 0.5487 MB / 1.193 GB, free: 7.461 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02049/1.708, allocations: 9.328 MB / 1.202 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006466/1.714, allocations: 3.29 MB / 1.205 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005735/1.715, allocations: 107.4 kB / 1.206 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of SimCode: time 1.613e-06/1.715, allocations: 0 / 1.206 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of Templates: time 0.559/2.274, allocations: 187.9 MB / 1.389 GB, free: 220.4 MB / 0.8575 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1)