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.005288/0.005288, allocations: 101.8 kB / 15.73 MB, free: 6.043 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.001167/0.001167, allocations: 184.9 kB / 16.67 MB, free: 5.977 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.338/1.338, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002013/0.002013, allocations: 287 kB / 290.8 MB, free: 1.895 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9388/0.9388, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001654/0.001654, allocations: 95.84 kB / 0.6815 GB, free: 15.45 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1602, allocations: 86.98 MB / 0.7664 GB, free: 8.387 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.3539/0.5141, allocations: 23.41 MB / 0.7893 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0108/0.5249, allocations: 6.477 MB / 0.7956 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002274/0.5272, allocations: 94.72 kB / 0.7957 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003812/0.5311, allocations: 1.504 MB / 0.7971 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004749/0.5358, allocations: 1.932 MB / 0.799 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003568/0.5394, allocations: 1.459 MB / 0.8005 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008416/0.5478, allocations: 6.928 MB / 0.8072 GB, free: 9.328 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01237/0.5602, allocations: 6.933 MB / 0.814 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005788/0.566, allocations: 2.873 MB / 0.8168 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00778/0.5738, allocations: 3.486 MB / 0.8202 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.003092/0.5769, allocations: 0.5265 MB / 0.8207 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007014/0.584, allocations: 1.177 MB / 0.8219 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.006387/0.5904, allocations: 2.466 MB / 0.8243 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.007677/0.5981, allocations: 2.533 MB / 0.8267 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01146/0.6095, allocations: 8.512 MB / 0.8351 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.6096, allocations: 1.344 kB / 0.8351 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.797e-06/0.6096, allocations: 0 / 0.8351 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002302/0.6098, allocations: 3.938 kB / 0.8351 GB, free: 10.62 MB / 0.5919 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.01046/0.6203, allocations: 4.428 MB / 0.8394 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.6204, allocations: 14.78 kB / 0.8394 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008685/0.629, allocations: 1.677 MB / 0.841 GB, free: 6.758 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005398/0.6345, allocations: 2.704 MB / 0.8437 GB, free: 4.578 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001659/0.6347, allocations: 271.7 kB / 0.8439 GB, free: 4.312 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006255/0.6353, allocations: 368.3 kB / 0.8443 GB, free: 3.953 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01199/0.6473, allocations: 7.479 MB / 0.8516 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.488e-05/0.6474, allocations: 15.88 kB / 0.8516 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004678/0.6479, allocations: 155.9 kB / 0.8518 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006396/0.6485, allocations: 487.3 kB / 0.8522 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009078/0.6576, allocations: 5.697 MB / 0.8578 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03105/0.6887, allocations: 31.5 MB / 0.8885 GB, free: 3.59 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002644/0.6913, allocations: 2.09 MB / 0.8906 GB, free: 1.488 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002736/0.6941, allocations: 2.194 MB / 0.8927 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001252/0.6942, allocations: 13.31 kB / 0.8927 GB, free: 15.28 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.6943, allocations: 43.88 kB / 0.8928 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=146): time 4.638e-06/0.6943, allocations: 3.984 kB / 0.8928 GB, free: 15.22 MB / 0.6544 GB Notification: Performance of matching and sorting (n=251): time 0.3145/1.009, allocations: 77.02 MB / 0.968 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.556e-05/1.009, allocations: 81.41 kB / 0.9681 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003426/1.012, allocations: 1.67 MB / 0.9697 GB, free: 252 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0006185/1.013, allocations: 65.7 kB / 0.9698 GB, free: 180 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001313/1.014, allocations: 1.747 MB / 0.9715 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001118/1.015, allocations: 0.851 MB / 0.9723 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0014/1.017, allocations: 481.2 kB / 0.9728 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001087/1.017, allocations: 305.1 kB / 0.9731 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003996/1.021, allocations: 2.73 MB / 0.9757 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004526/1.026, allocations: 3.343 MB / 0.979 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008655/1.034, allocations: 6.393 MB / 0.9852 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.061e-05/1.034, allocations: 4 kB / 0.9852 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03349/1.068, allocations: 14.68 MB / 0.9996 GB, free: 1.066 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 5.048e-05/1.068, allocations: 12 kB / 0.9996 GB, free: 1.055 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-05/1.068, allocations: 20 kB / 0.9996 GB, free: 1.035 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03059/1.098, allocations: 9.239 MB / 1.009 GB, free: 7.77 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001356/1.1, allocations: 299.5 kB / 1.009 GB, free: 7.477 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08709/1.187, allocations: 52.33 MB / 1.06 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003349/1.19, allocations: 219.7 kB / 1.06 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005412/1.191, allocations: 104 kB / 1.06 GB, free: 1.953 MB / 0.8106 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.003406/1.194, allocations: 1.579 MB / 1.062 GB, free: 372 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007918/1.195, allocations: 249 kB / 1.062 GB, free: 120 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03476/1.23, allocations: 14.75 MB / 1.077 GB, free: 1.309 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.308e-05/1.23, allocations: 28 kB / 1.077 GB, free: 1.281 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001809/1.23, allocations: 44 kB / 1.077 GB, free: 1.238 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-05/1.23, allocations: 11.95 kB / 1.077 GB, free: 1.227 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4499/1.68, allocations: 20.53 MB / 1.097 GB, free: 248.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.127e-05/1.68, allocations: 12 kB / 1.097 GB, free: 248.5 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008417/1.681, allocations: 164.4 kB / 1.097 GB, free: 248.5 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02989/1.711, allocations: 9 MB / 1.106 GB, free: 248.4 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004609/1.711, allocations: 47.69 kB / 1.106 GB, free: 248.4 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07201/1.784, allocations: 51.89 MB / 1.156 GB, free: 230.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.035e-05/1.784, allocations: 13.53 kB / 1.156 GB, free: 230.5 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02804/1.812, allocations: 14.36 MB / 1.17 GB, free: 222.3 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001871/1.814, allocations: 0.8455 MB / 1.171 GB, free: 221.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004366/1.814, allocations: 53.08 kB / 1.171 GB, free: 221.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002012/1.816, allocations: 215.6 kB / 1.171 GB, free: 221.2 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001218/1.817, allocations: 238.9 kB / 1.172 GB, free: 220.9 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001811/1.817, allocations: 68 kB / 1.172 GB, free: 220.9 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001204/1.819, allocations: 1.121 MB / 1.173 GB, free: 219.7 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/1.819, allocations: 0 / 1.173 GB, free: 219.7 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.004214/1.823, allocations: 1.617 MB / 1.174 GB, free: 218.1 MB / 0.8419 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.000367/1.823, allocations: 165.2 kB / 1.175 GB, free: 218 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.01948/1.843, allocations: 10.55 MB / 1.185 GB, free: 207.5 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.053e-05/1.843, allocations: 0 / 1.185 GB, free: 207.5 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.01541/1.858, allocations: 7.322 MB / 1.192 GB, free: 200.1 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002761/1.861, allocations: 0.5722 MB / 1.193 GB, free: 199.6 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01199/1.873, allocations: 8.687 MB / 1.201 GB, free: 190.9 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002451/1.875, allocations: 3.224 MB / 1.204 GB, free: 187.7 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0008429/1.876, allocations: 389.2 kB / 1.205 GB, free: 187.3 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002102/1.877, allocations: 99.42 kB / 1.205 GB, free: 187.2 MB / 0.8419 GB Notification: Performance of SimCode: time 5.71e-07/1.877, allocations: 0 / 1.205 GB, free: 187.2 MB / 0.8419 GB Notification: Performance of Templates: time 0.09816/1.975, allocations: 92.7 MB / 1.295 GB, free: 94.89 MB / 0.8419 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)