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.001224/0.001224, allocations: 110.1 kB / 16.41 MB, free: 6.496 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.001255/0.001255, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.317/1.317, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002155/0.002155, allocations: 284.2 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9577/0.9577, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 95.83 kB / 0.6821 GB, free: 6.934 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4565/0.4585, allocations: 86.97 MB / 0.7671 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02218/0.4807, allocations: 20.24 MB / 0.7868 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01123/0.492, allocations: 6.445 MB / 0.7931 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002195/0.4942, allocations: 87.56 kB / 0.7932 GB, free: 9.078 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.006296/0.5005, allocations: 2.236 MB / 0.7954 GB, free: 6.836 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00419/0.5048, allocations: 1.248 MB / 0.7966 GB, free: 5.582 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003988/0.5088, allocations: 1.282 MB / 0.7979 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00672/0.5155, allocations: 4.865 MB / 0.8026 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008908/0.5245, allocations: 5.59 MB / 0.8081 GB, free: 9.766 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003824/0.5283, allocations: 2.123 MB / 0.8101 GB, free: 7.637 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00401/0.5324, allocations: 2.337 MB / 0.8124 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001257/0.5337, allocations: 428 kB / 0.8128 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002736/0.5364, allocations: 1.006 MB / 0.8138 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.002737/0.5392, allocations: 1.665 MB / 0.8154 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.004109/0.5433, allocations: 1.918 MB / 0.8173 GB, free: 280 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.008156/0.5515, allocations: 6.521 MB / 0.8237 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.5515, allocations: 0 / 0.8237 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5515, allocations: 0 / 0.8237 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.000219/0.5518, allocations: 0 / 0.8237 GB, free: 9.734 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.008313/0.5601, allocations: 3.452 MB / 0.827 GB, free: 6.219 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.5601, allocations: 12.03 kB / 0.8271 GB, free: 6.207 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003486/0.5636, allocations: 0.6371 MB / 0.8277 GB, free: 5.566 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003705/0.5674, allocations: 2.045 MB / 0.8297 GB, free: 3.461 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00016/0.5675, allocations: 218.3 kB / 0.8299 GB, free: 3.246 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005405/0.5681, allocations: 300.2 kB / 0.8302 GB, free: 2.953 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008536/0.5766, allocations: 4.886 MB / 0.8349 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.057e-05/0.5768, allocations: 11.84 kB / 0.835 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003217/0.5771, allocations: 132 kB / 0.8351 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004874/0.5776, allocations: 233.7 kB / 0.8353 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006383/0.584, allocations: 3.75 MB / 0.839 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02307/0.6071, allocations: 21.4 MB / 0.8599 GB, free: 2.344 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001876/0.609, allocations: 1.311 MB / 0.8611 GB, free: 1.023 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001444/0.6105, allocations: 1.042 MB / 0.8622 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 5.48e-05/0.6105, allocations: 20.98 kB / 0.8622 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.99e-05/0.6106, allocations: 43.56 kB / 0.8622 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=107): time 2.655e-06/0.6106, allocations: 3.938 kB / 0.8622 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of matching and sorting (n=138): time 0.02388/0.6345, allocations: 8.668 MB / 0.8707 GB, free: 7.18 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.227e-05/0.6345, allocations: 64.72 kB / 0.8708 GB, free: 7.105 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001505/0.6361, allocations: 1.134 MB / 0.8719 GB, free: 5.965 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001513/0.6362, allocations: 45.7 kB / 0.8719 GB, free: 5.914 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008333/0.6371, allocations: 1.3 MB / 0.8732 GB, free: 4.598 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004033/0.6375, allocations: 477.1 kB / 0.8736 GB, free: 4.125 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004535/0.6379, allocations: 291.3 kB / 0.8739 GB, free: 3.832 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.541e-05/0.638, allocations: 309 kB / 0.8742 GB, free: 3.527 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001251/0.6393, allocations: 0.9174 MB / 0.8751 GB, free: 2.609 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001531/0.6408, allocations: 1.322 MB / 0.8764 GB, free: 1.117 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003009/0.6439, allocations: 2.43 MB / 0.8788 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.805e-06/0.6439, allocations: 4 kB / 0.8788 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.00595/0.6498, allocations: 3.472 MB / 0.8822 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.686e-05/0.6499, allocations: 8 kB / 0.8822 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.826e-05/0.6499, allocations: 12 kB / 0.8822 GB, free: 11 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003191/0.6531, allocations: 1.18 MB / 0.8833 GB, free: 9.82 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001005/0.6541, allocations: 255.6 kB / 0.8836 GB, free: 9.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01734/0.6715, allocations: 13.84 MB / 0.8971 GB, free: 11.31 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001351/0.6729, allocations: 91.97 kB / 0.8972 GB, free: 11.22 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001337/0.673, allocations: 64 kB / 0.8972 GB, free: 11.16 MB / 0.67 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.001702/0.6747, allocations: 1.118 MB / 0.8983 GB, free: 10.03 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002946/0.675, allocations: 158.1 kB / 0.8985 GB, free: 9.871 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005669/0.6807, allocations: 3.173 MB / 0.9016 GB, free: 6.68 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-05/0.6807, allocations: 12 kB / 0.9016 GB, free: 6.668 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.895e-05/0.6808, allocations: 15.94 kB / 0.9016 GB, free: 6.652 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/0.6808, allocations: 3.984 kB / 0.9016 GB, free: 6.648 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009991/0.6908, allocations: 6.249 MB / 0.9077 GB, free: 268 kB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.377e-06/0.6908, allocations: 4 kB / 0.9077 GB, free: 264 kB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005991/0.6914, allocations: 147.8 kB / 0.9079 GB, free: 116 kB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002899/0.6943, allocations: 1.086 MB / 0.9089 GB, free: 15.02 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001111/0.6945, allocations: 24 kB / 0.9089 GB, free: 15 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01691/0.7114, allocations: 13.53 MB / 0.9221 GB, free: 1.055 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.561e-06/0.7114, allocations: 4 kB / 0.9222 GB, free: 1.051 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00538/0.7168, allocations: 3.154 MB / 0.9252 GB, free: 13.81 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008933/0.7178, allocations: 427.1 kB / 0.9256 GB, free: 13.37 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002357/0.718, allocations: 31.94 kB / 0.9257 GB, free: 13.34 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008183/0.7188, allocations: 83.89 kB / 0.9258 GB, free: 13.26 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003427/0.7192, allocations: 128.7 kB / 0.9259 GB, free: 13.13 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.31e-05/0.7193, allocations: 40.38 kB / 0.9259 GB, free: 13.09 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001033/0.7203, allocations: 0.7632 MB / 0.9267 GB, free: 12.32 MB / 0.7012 GB Notification: Performance of sort global known variables: time 3.71e-07/0.7203, allocations: 0 / 0.9267 GB, free: 12.32 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001909/0.7222, allocations: 0.664 MB / 0.9273 GB, free: 11.66 MB / 0.7012 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.0002272/0.7225, allocations: 139.1 kB / 0.9274 GB, free: 11.51 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.004945/0.7274, allocations: 3.138 MB / 0.9305 GB, free: 8.34 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 9.838e-06/0.7275, allocations: 4.734 kB / 0.9305 GB, free: 8.336 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.003111/0.7306, allocations: 1.955 MB / 0.9324 GB, free: 6.336 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002287/0.7329, allocations: 0.5037 MB / 0.9329 GB, free: 5.852 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009083/0.742, allocations: 5.798 MB / 0.9386 GB, free: 15.96 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002306/0.7443, allocations: 2.387 MB / 0.9409 GB, free: 13.55 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000387/0.7447, allocations: 103.4 kB / 0.941 GB, free: 13.45 MB / 0.7169 GB Notification: Performance of SimCode: time 7.31e-07/0.7447, allocations: 0 / 0.941 GB, free: 13.45 MB / 0.7169 GB Notification: Performance of Templates: time 0.4197/1.164, allocations: 79.61 MB / 1.019 GB, free: 151.1 MB / 0.7325 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)