Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001328/0.001327, allocations: 105.2 kB / 16.41 MB, free: 6.469 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.001333/0.001333, allocations: 192.2 kB / 17.34 MB, free: 5.715 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.358/1.358, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002287/0.002287, allocations: 291.5 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9854/0.9854, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 99.84 kB / 0.6821 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5253/0.5273, allocations: 86.98 MB / 0.7671 GB, free: 3.965 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.0315/0.5589, allocations: 26.64 MB / 0.7931 GB, free: 9.23 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01722/0.5761, allocations: 8.082 MB / 0.801 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003586/0.5798, allocations: 115.4 kB / 0.8011 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.007982/0.5878, allocations: 2.754 MB / 0.8038 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005494/0.5933, allocations: 1.586 MB / 0.8053 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00552/0.5988, allocations: 1.679 MB / 0.807 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008867/0.6077, allocations: 6.146 MB / 0.813 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01116/0.6189, allocations: 7.307 MB / 0.8201 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005118/0.6241, allocations: 2.605 MB / 0.8227 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005392/0.6295, allocations: 2.839 MB / 0.8254 GB, free: 7.945 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.002142/0.6317, allocations: 0.5117 MB / 0.8259 GB, free: 7.434 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004393/0.6361, allocations: 1.291 MB / 0.8272 GB, free: 6.141 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.003927/0.6401, allocations: 2.05 MB / 0.8292 GB, free: 4.086 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.005893/0.646, allocations: 2.373 MB / 0.8315 GB, free: 1.703 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01261/0.6587, allocations: 8.051 MB / 0.8394 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/0.6587, allocations: 0 / 0.8394 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.964e-06/0.6587, allocations: 4 kB / 0.8394 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0003257/0.6591, allocations: 0 / 0.8394 GB, free: 9.625 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: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01391/0.673, allocations: 4.224 MB / 0.8435 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.386e-05/0.6731, allocations: 12.03 kB / 0.8435 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005485/0.6785, allocations: 0.8078 MB / 0.8443 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006297/0.6849, allocations: 2.58 MB / 0.8468 GB, free: 1.875 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003122/0.6852, allocations: 267.7 kB / 0.8471 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00169/0.6869, allocations: 380.5 kB / 0.8474 GB, free: 1.242 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01501/0.702, allocations: 5.992 MB / 0.8533 GB, free: 11 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002157/0.7022, allocations: 27.78 kB / 0.8533 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001234/0.7035, allocations: 156 kB / 0.8535 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008006/0.7043, allocations: 286.9 kB / 0.8537 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01726/0.7216, allocations: 4.52 MB / 0.8581 GB, free: 6.008 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05809/0.7798, allocations: 27.45 MB / 0.885 GB, free: 8.051 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003257/0.7831, allocations: 1.119 MB / 0.886 GB, free: 6.926 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002501/0.7856, allocations: 1.019 MB / 0.887 GB, free: 5.906 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001356/0.7858, allocations: 17 kB / 0.8871 GB, free: 5.891 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.315e-05/0.7859, allocations: 51.5 kB / 0.8871 GB, free: 5.828 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=110): time 6.513e-06/0.7859, allocations: 0 / 0.8871 GB, free: 5.828 MB / 0.6544 GB Notification: Performance of matching and sorting (n=131): time 0.04152/0.8275, allocations: 9.667 MB / 0.8965 GB, free: 11.96 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.387e-05/0.8276, allocations: 64.72 kB / 0.8966 GB, free: 11.88 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004/0.8316, allocations: 1.494 MB / 0.8981 GB, free: 10.39 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.000398/0.8321, allocations: 49.7 kB / 0.8981 GB, free: 10.34 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.00196/0.834, allocations: 1.671 MB / 0.8997 GB, free: 8.641 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009306/0.835, allocations: 469.4 kB / 0.9002 GB, free: 8.176 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001324/0.8363, allocations: 331.1 kB / 0.9005 GB, free: 7.844 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.8365, allocations: 305.1 kB / 0.9008 GB, free: 7.543 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002567/0.8391, allocations: 0.9174 MB / 0.9017 GB, free: 6.625 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00315/0.8423, allocations: 1.467 MB / 0.9031 GB, free: 4.922 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005939/0.8482, allocations: 2.546 MB / 0.9056 GB, free: 2.133 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.359e-05/0.8483, allocations: 4 kB / 0.9056 GB, free: 2.129 MB / 0.67 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.01105/0.8594, allocations: 3.285 MB / 0.9088 GB, free: 14.8 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.758e-05/0.8595, allocations: 12 kB / 0.9088 GB, free: 14.79 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.84e-05/0.8595, allocations: 20.84 kB / 0.9089 GB, free: 14.77 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003275/0.8628, allocations: 0.7412 MB / 0.9096 GB, free: 14 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002613/0.8655, allocations: 383.4 kB / 0.91 GB, free: 13.63 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02294/0.8884, allocations: 17.04 MB / 0.9266 GB, free: 11.32 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001873/0.8903, allocations: 111.9 kB / 0.9267 GB, free: 11.21 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003611/0.8907, allocations: 76 kB / 0.9268 GB, free: 11.13 MB / 0.7012 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002828/0.8936, allocations: 1.305 MB / 0.928 GB, free: 9.816 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006403/0.8942, allocations: 201.6 kB / 0.9282 GB, free: 9.617 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005567/0.8998, allocations: 2.784 MB / 0.931 GB, free: 6.793 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.557e-05/0.8998, allocations: 12 kB / 0.931 GB, free: 6.781 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.42e-05/0.8999, allocations: 8 kB / 0.931 GB, free: 6.773 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.513e-05/0.8999, allocations: 7.969 kB / 0.931 GB, free: 6.766 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01328/0.9132, allocations: 6.217 MB / 0.9371 GB, free: 392 kB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.675e-05/0.9132, allocations: 11.94 kB / 0.9371 GB, free: 380 kB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001218/0.9145, allocations: 227.6 kB / 0.9373 GB, free: 152 kB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002065/0.9166, allocations: 0.6714 MB / 0.9379 GB, free: 15.45 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001584/0.9167, allocations: 28 kB / 0.938 GB, free: 15.42 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01576/0.9325, allocations: 16.79 MB / 0.9544 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.726e-06/0.9325, allocations: 7.938 kB / 0.9544 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006838/0.9394, allocations: 4.008 MB / 0.9583 GB, free: 9.242 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001115/0.9405, allocations: 450.6 kB / 0.9587 GB, free: 8.781 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005265/0.9411, allocations: 39.92 kB / 0.9588 GB, free: 8.742 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001229/0.9423, allocations: 83.89 kB / 0.9588 GB, free: 8.66 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003523/0.9427, allocations: 116.9 kB / 0.9589 GB, free: 8.547 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.651e-05/0.9428, allocations: 36 kB / 0.959 GB, free: 8.512 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001769/0.9446, allocations: 0.9942 MB / 0.9599 GB, free: 7.527 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9446, allocations: 4 kB / 0.96 GB, free: 7.523 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002804/0.9474, allocations: 0.6836 MB / 0.9606 GB, free: 6.84 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003523/0.9478, allocations: 155 kB / 0.9608 GB, free: 6.676 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005659/0.9535, allocations: 3.526 MB / 0.9642 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.287e-06/0.9535, allocations: 0 / 0.9642 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003385/0.9569, allocations: 2.296 MB / 0.9665 GB, free: 0.625 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.4337/1.391, allocations: 0.6687 MB / 0.9671 GB, free: 184.1 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01426/1.405, allocations: 6.937 MB / 0.9739 GB, free: 182.1 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003925/1.409, allocations: 2.718 MB / 0.9765 GB, free: 181.3 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005962/1.409, allocations: 128.7 kB / 0.9767 GB, free: 181.3 MB / 0.7325 GB Notification: Performance of SimCode: time 8.01e-07/1.41, allocations: 0 / 0.9767 GB, free: 181.3 MB / 0.7325 GB Notification: Performance of Templates: time 0.1382/1.548, allocations: 209.9 MB / 1.182 GB, free: 14.26 MB / 0.7637 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)