Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000856/0.000856, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.005818/0.005818, allocations: 170.5 kB / 16.27 MB, free: 6.648 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.48/1.48, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002056/0.002056, allocations: 274.5 kB / 291.7 MB, free: 1.859 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.098/1.098, allocations: 178.9 MB / 0.5095 GB, free: 4.703 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004597/0.0004597, allocations: 14.72 kB / 0.6099 GB, free: 24.79 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1993/0.1997, allocations: 90.73 MB / 0.6985 GB, free: 2.629 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04242/0.2422, allocations: 33.7 MB / 0.7314 GB, free: 0.8281 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02089/0.2632, allocations: 11.4 MB / 0.7426 GB, free: 5.422 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003301/0.2665, allocations: 139.2 kB / 0.7427 GB, free: 5.285 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002358/0.2689, allocations: 0.6938 MB / 0.7434 GB, free: 4.586 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.005777/0.2747, allocations: 1.863 MB / 0.7452 GB, free: 2.715 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.005351/0.28, allocations: 2.008 MB / 0.7472 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01479/0.2948, allocations: 12.39 MB / 0.7593 GB, free: 4.289 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.4342/0.7291, allocations: 14.33 MB / 0.7732 GB, free: 14.79 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005684/0.7348, allocations: 2.619 MB / 0.7758 GB, free: 14.64 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006932/0.7418, allocations: 3.553 MB / 0.7793 GB, free: 14.18 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.00192/0.7437, allocations: 328.8 kB / 0.7796 GB, free: 14.18 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005778/0.7495, allocations: 1.908 MB / 0.7815 GB, free: 14.18 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.004802/0.7544, allocations: 2.461 MB / 0.7839 GB, free: 13.97 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.007006/0.7614, allocations: 2.733 MB / 0.7865 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01537/0.7768, allocations: 11.44 MB / 0.7977 GB, free: 11.31 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.7768, allocations: 5.031 kB / 0.7977 GB, free: 11.31 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.545e-06/0.7768, allocations: 0 / 0.7977 GB, free: 11.31 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0004097/0.7772, allocations: 0 / 0.7977 GB, free: 11.31 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01398/0.7912, allocations: 4.659 MB / 0.8022 GB, free: 8.652 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.7913, allocations: 8.75 kB / 0.8023 GB, free: 8.652 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008019/0.7993, allocations: 1.064 MB / 0.8033 GB, free: 8.164 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008342/0.8076, allocations: 3.255 MB / 0.8065 GB, free: 7.066 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004374/0.8081, allocations: 410 kB / 0.8069 GB, free: 7.055 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002682/0.8108, allocations: 0.5473 MB / 0.8074 GB, free: 7.039 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02721/0.838, allocations: 9.077 MB / 0.8163 GB, free: 4.266 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004221/0.8385, allocations: 27.16 kB / 0.8163 GB, free: 4.258 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002536/0.841, allocations: 240.6 kB / 0.8165 GB, free: 4.258 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000494/0.8416, allocations: 346.8 kB / 0.8169 GB, free: 4.211 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01573/0.8573, allocations: 6.834 MB / 0.8235 GB, free: 0.9414 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05784/0.9152, allocations: 40.19 MB / 0.8628 GB, free: 8.402 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004578/0.9198, allocations: 3.116 MB / 0.8658 GB, free: 5.156 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003073/0.9229, allocations: 1.946 MB / 0.8677 GB, free: 3.219 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001225/0.923, allocations: 18 kB / 0.8677 GB, free: 3.203 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.577e-05/0.9231, allocations: 52.56 kB / 0.8678 GB, free: 3.141 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=179): time 4.167e-06/0.9231, allocations: 4 kB / 0.8678 GB, free: 3.137 MB / 0.5919 GB Notification: Performance of matching and sorting (n=182): time 0.02886/0.9519, allocations: 10.04 MB / 0.8776 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.635e-05/0.952, allocations: 73.41 kB / 0.8777 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00281/0.9549, allocations: 1.531 MB / 0.8792 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001489/0.955, allocations: 57.64 kB / 0.8792 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.002068/0.9571, allocations: 2.252 MB / 0.8814 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006954/0.9578, allocations: 0.6293 MB / 0.882 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003138/0.9581, allocations: 182.1 kB / 0.8822 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.9583, allocations: 305.1 kB / 0.8825 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002001/0.9603, allocations: 1.176 MB / 0.8836 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002624/0.9629, allocations: 1.89 MB / 0.8855 GB, free: 0.582 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005044/0.968, allocations: 3.375 MB / 0.8888 GB, free: 13 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.938e-05/0.968, allocations: 8 kB / 0.8888 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.01135/0.9794, allocations: 4.577 MB / 0.8933 GB, free: 8.57 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.034e-05/0.9794, allocations: 12 kB / 0.8933 GB, free: 8.559 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.915e-05/0.9795, allocations: 24.88 kB / 0.8933 GB, free: 8.535 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00637/0.9859, allocations: 1.583 MB / 0.8948 GB, free: 6.945 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002152/0.9881, allocations: 350 kB / 0.8952 GB, free: 6.629 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04315/1.031, allocations: 17.07 MB / 0.9118 GB, free: 5.086 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003187/1.034, allocations: 119.9 kB / 0.912 GB, free: 4.969 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000336/1.035, allocations: 92 kB / 0.912 GB, free: 4.879 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (177): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006548/1.041, allocations: 1.904 MB / 0.9139 GB, free: 2.988 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008092/1.042, allocations: 221.4 kB / 0.9141 GB, free: 2.77 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01461/1.057, allocations: 4.093 MB / 0.9181 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.571e-05/1.057, allocations: 20 kB / 0.9181 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.811e-05/1.057, allocations: 16 kB / 0.9181 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.302e-05/1.057, allocations: 7.969 kB / 0.9182 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02426/1.081, allocations: 9.465 MB / 0.9274 GB, free: 5.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.321e-05/1.081, allocations: 4 kB / 0.9274 GB, free: 5.066 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008836/1.082, allocations: 180.2 kB / 0.9276 GB, free: 4.898 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003829/1.086, allocations: 1.367 MB / 0.9289 GB, free: 3.527 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001637/1.086, allocations: 32 kB / 0.9289 GB, free: 3.496 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02352/1.11, allocations: 15.98 MB / 0.9445 GB, free: 3.031 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/1.11, allocations: 6.625 kB / 0.9445 GB, free: 3.027 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008644/1.119, allocations: 4.068 MB / 0.9485 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001493/1.12, allocations: 0.5334 MB / 0.949 GB, free: 14.37 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006083/1.121, allocations: 36 kB / 0.9491 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001402/1.122, allocations: 87.89 kB / 0.9492 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005434/1.123, allocations: 167.6 kB / 0.9493 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001346/1.123, allocations: 44 kB / 0.9494 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002029/1.125, allocations: 1.005 MB / 0.9503 GB, free: 13.02 MB / 0.6856 GB Notification: Performance of sort global known variables: time 4.11e-07/1.125, allocations: 4 kB / 0.9503 GB, free: 13.02 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.004236/1.129, allocations: 0.9883 MB / 0.9513 GB, free: 12.03 MB / 0.6856 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 (85): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003579/1.129, allocations: 139.4 kB / 0.9514 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.008169/1.138, allocations: 4.299 MB / 0.9556 GB, free: 7.613 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 9.508e-06/1.138, allocations: 0 / 0.9556 GB, free: 7.613 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.004986/1.143, allocations: 2.669 MB / 0.9583 GB, free: 4.922 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005456/1.148, allocations: 0.7205 MB / 0.959 GB, free: 4.207 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02079/1.169, allocations: 11.02 MB / 0.9697 GB, free: 9.129 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006462/1.175, allocations: 3.573 MB / 0.9732 GB, free: 5.52 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.00185/1.177, allocations: 463.9 kB / 0.9736 GB, free: 5.062 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004329/1.178, allocations: 122 kB / 0.9738 GB, free: 4.945 MB / 0.7012 GB Notification: Performance of SimCode: time 8.72e-07/1.178, allocations: 0 / 0.9738 GB, free: 4.945 MB / 0.7012 GB Notification: Performance of Templates: time 0.08693/1.265, allocations: 41.85 MB / 1.015 GB, free: 11.66 MB / 0.7481 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)