Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001587/0.001593, allocations: 109.4 kB / 16.41 MB, free: 6.488 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.001742/0.001742, 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.394/1.394, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002347/0.002347, allocations: 299.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.9781/0.9781, allocations: 169.2 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001785/0.001785, allocations: 95.84 kB / 0.6821 GB, free: 6.902 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4308/0.4326, allocations: 86.98 MB / 0.7671 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04457/0.4772, allocations: 37.95 MB / 0.8041 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02118/0.4984, allocations: 11 MB / 0.8149 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005737/0.5042, allocations: 151.3 kB / 0.815 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01302/0.5173, allocations: 4.346 MB / 0.8192 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.008629/0.5259, allocations: 2.223 MB / 0.8214 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006349/0.5323, allocations: 2.178 MB / 0.8235 GB, free: 9.879 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01202/0.5444, allocations: 9.284 MB / 0.8326 GB, free: 0.5664 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01848/0.5629, allocations: 11.26 MB / 0.8436 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008674/0.5716, allocations: 4.047 MB / 0.8476 GB, free: 1.129 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008277/0.5799, allocations: 4.517 MB / 0.852 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.002943/0.5829, allocations: 0.8242 MB / 0.8528 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005098/0.588, allocations: 1.588 MB / 0.8543 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.005134/0.5932, allocations: 3.15 MB / 0.8574 GB, free: 7.027 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.008441/0.6017, allocations: 3.657 MB / 0.861 GB, free: 3.355 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01553/0.6172, allocations: 12.31 MB / 0.873 GB, free: 7.016 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/0.6173, allocations: 0 / 0.873 GB, free: 7.016 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.034e-06/0.6173, allocations: 0 / 0.873 GB, free: 7.016 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0004188/0.6177, allocations: 8 kB / 0.873 GB, free: 7.008 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01683/0.6345, allocations: 6.314 MB / 0.8792 GB, free: 0.6211 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.6346, allocations: 8.031 kB / 0.8792 GB, free: 0.6133 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006689/0.6413, allocations: 1.071 MB / 0.8802 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007513/0.6489, allocations: 3.606 MB / 0.8837 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003632/0.6493, allocations: 423.7 kB / 0.8841 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001903/0.6512, allocations: 0.5471 MB / 0.8847 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01983/0.671, allocations: 9.381 MB / 0.8938 GB, free: 1.199 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001522/0.6712, allocations: 19.81 kB / 0.8939 GB, free: 1.18 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001078/0.6723, allocations: 248 kB / 0.8941 GB, free: 0.9375 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006176/0.6729, allocations: 422.9 kB / 0.8945 GB, free: 0.5234 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01423/0.6872, allocations: 7.124 MB / 0.9015 GB, free: 9.387 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0469/0.7341, allocations: 41 MB / 0.9415 GB, free: 12.64 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004663/0.7388, allocations: 3.116 MB / 0.9445 GB, free: 9.52 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003/0.7418, allocations: 2.149 MB / 0.9466 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001124/0.742, allocations: 25.98 kB / 0.9467 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.478e-05/0.7421, allocations: 60.42 kB / 0.9467 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=209): time 3.897e-06/0.7421, allocations: 8 kB / 0.9467 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of matching and sorting (n=212): time 0.02392/0.766, allocations: 10.56 MB / 0.957 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.339e-05/0.7661, allocations: 77.34 kB / 0.9571 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002726/0.7688, allocations: 2.002 MB / 0.9591 GB, free: 10.51 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0003043/0.7691, allocations: 65.7 kB / 0.9591 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001582/0.7707, allocations: 2.396 MB / 0.9615 GB, free: 8.008 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000784/0.7715, allocations: 0.7355 MB / 0.9622 GB, free: 7.262 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007403/0.7723, allocations: 473.2 kB / 0.9626 GB, free: 6.793 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.7724, allocations: 309.1 kB / 0.9629 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001958/0.7743, allocations: 1.372 MB / 0.9643 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002467/0.7768, allocations: 2.112 MB / 0.9663 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3914/1.168, allocations: 3.76 MB / 0.97 GB, free: 180.1 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.861e-05/1.168, allocations: 6.812 kB / 0.97 GB, free: 180.1 MB / 0.7325 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.01039/1.179, allocations: 5.07 MB / 0.975 GB, free: 178.6 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.758e-05/1.179, allocations: 17.69 kB / 0.975 GB, free: 178.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.709e-05/1.179, allocations: 22.06 kB / 0.975 GB, free: 178.6 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003587/1.182, allocations: 1.585 MB / 0.9766 GB, free: 178.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001904/1.184, allocations: 458.8 kB / 0.977 GB, free: 178.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01861/1.203, allocations: 18.55 MB / 0.9951 GB, free: 167.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002362/1.205, allocations: 155.9 kB / 0.9953 GB, free: 167.1 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002919/1.206, allocations: 106.6 kB / 0.9954 GB, free: 167.1 MB / 0.7325 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 (231): * Single equations (assignments): 227 * 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 {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002825/1.209, allocations: 1.947 MB / 0.9973 GB, free: 166.2 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005788/1.209, allocations: 284.9 kB / 0.9975 GB, free: 166.2 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006036/1.215, allocations: 4.453 MB / 1.002 GB, free: 164.4 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-05/1.215, allocations: 21.53 kB / 1.002 GB, free: 164.4 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.189e-05/1.215, allocations: 18.38 kB / 1.002 GB, free: 164.4 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.546e-05/1.215, allocations: 12.55 kB / 1.002 GB, free: 164.4 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0121/1.227, allocations: 9.653 MB / 1.011 GB, free: 155.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.155e-05/1.227, allocations: 12.5 kB / 1.011 GB, free: 155.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009124/1.228, allocations: 227.6 kB / 1.012 GB, free: 155.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002794/1.231, allocations: 1.439 MB / 1.013 GB, free: 154.1 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001487/1.231, allocations: 40 kB / 1.013 GB, free: 154 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01676/1.248, allocations: 18.56 MB / 1.031 GB, free: 135.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/1.248, allocations: 4 kB / 1.031 GB, free: 135.1 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005937/1.254, allocations: 4.546 MB / 1.036 GB, free: 130.5 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001256/1.255, allocations: 0.6381 MB / 1.036 GB, free: 129.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004322/1.256, allocations: 38.95 kB / 1.036 GB, free: 129.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001292/1.257, allocations: 123.9 kB / 1.036 GB, free: 129.7 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005084/1.258, allocations: 188.2 kB / 1.037 GB, free: 129.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001161/1.258, allocations: 56 kB / 1.037 GB, free: 129.5 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001469/1.259, allocations: 1.315 MB / 1.038 GB, free: 128.1 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.31e-07/1.259, allocations: 4 kB / 1.038 GB, free: 128.1 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003134/1.262, allocations: 1.141 MB / 1.039 GB, free: 127 MB / 0.7325 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 (107): * Single equations (assignments): 103 * 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 {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003058/1.263, allocations: 165.9 kB / 1.039 GB, free: 126.8 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005999/1.269, allocations: 4.704 MB / 1.044 GB, free: 122.1 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.337e-05/1.269, allocations: 8.312 kB / 1.044 GB, free: 122.1 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003717/1.272, allocations: 2.917 MB / 1.047 GB, free: 119.1 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003725/1.276, allocations: 0.8913 MB / 1.047 GB, free: 118.3 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01474/1.291, allocations: 10.04 MB / 1.057 GB, free: 108.2 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003362/1.294, allocations: 3.784 MB / 1.061 GB, free: 104.3 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007575/1.295, allocations: 167.4 kB / 1.061 GB, free: 104.2 MB / 0.7325 GB Notification: Performance of SimCode: time 8.82e-07/1.295, allocations: 3.938 kB / 1.061 GB, free: 104.2 MB / 0.7325 GB Notification: Performance of Templates: time 0.1567/1.452, allocations: 172.1 MB / 1.229 GB, free: 12.16 MB / 0.8106 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)