Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 117 kB / 16.37 MB, free: 6.012 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.00104/0.001041, allocations: 192.3 kB / 17.31 MB, free: 5.613 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.279/1.279, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002093/0.002093, allocations: 285.2 kB / 291.4 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.9361/0.9361, allocations: 169.3 MB / 0.4989 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001755/0.001755, allocations: 99.36 kB / 0.5967 GB, free: 14.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1518, allocations: 86.97 MB / 0.6816 GB, free: 7.434 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.2974/0.4493, allocations: 33.3 MB / 0.7141 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02415/0.4735, allocations: 14.83 MB / 0.7286 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004496/0.478, allocations: 152.2 kB / 0.7288 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.009767/0.4878, allocations: 3.657 MB / 0.7323 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00916/0.4969, allocations: 2.902 MB / 0.7352 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006586/0.5035, allocations: 2.32 MB / 0.7374 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01161/0.5152, allocations: 8.816 MB / 0.746 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01128/0.5265, allocations: 9.576 MB / 0.7554 GB, free: 3.977 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00638/0.5329, allocations: 3.953 MB / 0.7593 GB, free: 12 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005684/0.5386, allocations: 4.042 MB / 0.7632 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001297/0.5399, allocations: 0.7188 MB / 0.7639 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003818/0.5437, allocations: 1.712 MB / 0.7656 GB, free: 9.52 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.00286/0.5466, allocations: 2.822 MB / 0.7683 GB, free: 6.691 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.00522/0.5518, allocations: 3.396 MB / 0.7717 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0114/0.5632, allocations: 11.19 MB / 0.7826 GB, free: 8.059 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.5633, allocations: 0 / 0.7826 GB, free: 8.059 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5633, allocations: 0 / 0.7826 GB, free: 8.059 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0002631/0.5635, allocations: 0 / 0.7826 GB, free: 8.059 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01165/0.5752, allocations: 5.983 MB / 0.7884 GB, free: 1.996 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.5752, allocations: 12.03 kB / 0.7884 GB, free: 1.984 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006495/0.5817, allocations: 1.141 MB / 0.7895 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007758/0.5895, allocations: 3.52 MB / 0.793 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002588/0.5898, allocations: 378.4 kB / 0.7933 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001065/0.5909, allocations: 500 kB / 0.7938 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01345/0.6043, allocations: 8.001 MB / 0.8016 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001195/0.6045, allocations: 27.78 kB / 0.8017 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005088/0.605, allocations: 216 kB / 0.8019 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000977/0.606, allocations: 433.6 kB / 0.8023 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01022/0.6162, allocations: 6.081 MB / 0.8082 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03907/0.6553, allocations: 34.89 MB / 0.8423 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002544/0.6579, allocations: 2.026 MB / 0.8443 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002273/0.6602, allocations: 1.865 MB / 0.8461 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001157/0.6603, allocations: 18 kB / 0.8461 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.057e-05/0.6604, allocations: 60.5 kB / 0.8462 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=171): time 3.237e-06/0.6604, allocations: 0 / 0.8462 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of matching and sorting (n=276): time 0.1375/0.7979, allocations: 38.88 MB / 0.8841 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.791e-05/0.798, allocations: 81.58 kB / 0.8842 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002895/0.8009, allocations: 2.278 MB / 0.8864 GB, free: 9.922 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0003078/0.8012, allocations: 73.7 kB / 0.8865 GB, free: 9.844 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001295/0.8025, allocations: 2.272 MB / 0.8887 GB, free: 7.543 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007817/0.8033, allocations: 0.9434 MB / 0.8897 GB, free: 6.586 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008806/0.8042, allocations: 0.5061 MB / 0.8901 GB, free: 6.07 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.907e-05/0.8043, allocations: 305.1 kB / 0.8904 GB, free: 5.77 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002635/0.8069, allocations: 1.973 MB / 0.8924 GB, free: 3.793 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003017/0.8099, allocations: 2.602 MB / 0.8949 GB, free: 0.9492 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006202/0.8162, allocations: 4.933 MB / 0.8997 GB, free: 11.74 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-05/0.8162, allocations: 8 kB / 0.8997 GB, free: 11.73 MB / 0.67 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.0147/0.8309, allocations: 7.746 MB / 0.9073 GB, free: 3.914 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.234e-05/0.831, allocations: 15.98 kB / 0.9073 GB, free: 3.898 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-05/0.831, allocations: 16.88 kB / 0.9073 GB, free: 3.883 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00902/0.84, allocations: 3.22 MB / 0.9105 GB, free: 0.6484 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00163/0.8417, allocations: 395.4 kB / 0.9108 GB, free: 268 kB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04215/0.8839, allocations: 33.87 MB / 0.9439 GB, free: 13.54 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002873/0.8868, allocations: 163.8 kB / 0.9441 GB, free: 13.38 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002918/0.8871, allocations: 112 kB / 0.9442 GB, free: 13.27 MB / 0.7169 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 (202): * Single equations (assignments): 196 * 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 {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002935/0.89, allocations: 1.789 MB / 0.9459 GB, free: 11.47 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000712/0.8908, allocations: 332.1 kB / 0.9463 GB, free: 11.14 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01327/0.904, allocations: 7.372 MB / 0.9535 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-05/0.9041, allocations: 28 kB / 0.9535 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.8e-05/0.9042, allocations: 28 kB / 0.9535 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.06e-05/0.9042, allocations: 15.95 kB / 0.9535 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3024/1.207, allocations: 12.92 MB / 0.9661 GB, free: 225.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.565e-05/1.207, allocations: 6.562 kB / 0.9661 GB, free: 225.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009648/1.208, allocations: 234.4 kB / 0.9664 GB, free: 225.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008192/1.216, allocations: 2.852 MB / 0.9691 GB, free: 225.1 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003501/1.216, allocations: 57.11 kB / 0.9692 GB, free: 225.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03749/1.254, allocations: 32.65 MB / 1.001 GB, free: 206.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.576e-06/1.254, allocations: 11.25 kB / 1.001 GB, free: 206.3 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01079/1.265, allocations: 6.888 MB / 1.008 GB, free: 203.4 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002124/1.267, allocations: 0.779 MB / 1.009 GB, free: 203.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004706/1.267, allocations: 54.58 kB / 1.009 GB, free: 203.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00159/1.269, allocations: 168.7 kB / 1.009 GB, free: 203 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008927/1.27, allocations: 255 kB / 1.009 GB, free: 203 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001735/1.27, allocations: 78.41 kB / 1.009 GB, free: 203 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00185/1.272, allocations: 1.521 MB / 1.011 GB, free: 202.4 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.81e-07/1.272, allocations: 0 / 1.011 GB, free: 202.4 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003466/1.275, allocations: 1.37 MB / 1.012 GB, free: 202.3 MB / 0.7169 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 (105): * Single equations (assignments): 99 * 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 {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003254/1.276, allocations: 176.9 kB / 1.012 GB, free: 202.1 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.008985/1.285, allocations: 6.936 MB / 1.019 GB, free: 199 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/1.285, allocations: 0 / 1.019 GB, free: 199 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.006148/1.291, allocations: 4.419 MB / 1.023 GB, free: 195.8 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003969/1.295, allocations: 1.12 MB / 1.024 GB, free: 194.7 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01358/1.308, allocations: 10.09 MB / 1.034 GB, free: 184.6 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003022/1.311, allocations: 3.646 MB / 1.038 GB, free: 180.9 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001665/1.313, allocations: 0.5517 MB / 1.038 GB, free: 180.4 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003524/1.313, allocations: 155.4 kB / 1.038 GB, free: 180.2 MB / 0.7169 GB Notification: Performance of SimCode: time 7.12e-07/1.313, allocations: 4 kB / 1.038 GB, free: 180.2 MB / 0.7169 GB Notification: Performance of Templates: time 0.09153/1.405, allocations: 75.04 MB / 1.112 GB, free: 106.3 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1)