Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001295/0.001295, allocations: 101.7 kB / 16.4 MB, free: 6.504 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.001276/0.001277, allocations: 196 kB / 17.34 MB, free: 5.742 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.402/1.402, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7265/0.7265, allocations: 115.3 MB / 406.5 MB, free: 6.09 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 66.31 kB / 0.5577 GB, free: 32.06 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.154, allocations: 76.18 MB / 0.6321 GB, free: 4.395 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.05521/0.2093, allocations: 37.93 MB / 0.6691 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02826/0.2376, allocations: 11 MB / 0.6799 GB, free: 3.309 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006617/0.2443, allocations: 155.3 kB / 0.68 GB, free: 3.156 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.01473/0.2591, allocations: 4.367 MB / 0.6843 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.009974/0.2691, allocations: 2.332 MB / 0.6866 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.007446/0.2766, allocations: 2.17 MB / 0.6887 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01677/0.2934, allocations: 9.311 MB / 0.6978 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02318/0.3166, allocations: 11.26 MB / 0.7088 GB, free: 5.555 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007542/0.3242, allocations: 4.063 MB / 0.7127 GB, free: 1.48 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007481/0.3317, allocations: 4.502 MB / 0.7171 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.002419/0.3341, allocations: 0.8242 MB / 0.7179 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004305/0.3385, allocations: 1.588 MB / 0.7195 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.004483/0.343, allocations: 3.158 MB / 0.7226 GB, free: 7.387 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.007543/0.3505, allocations: 3.649 MB / 0.7261 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01464/0.3652, allocations: 12.31 MB / 0.7382 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.3652, allocations: 0 / 0.7382 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.843e-06/0.3652, allocations: 0 / 0.7382 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.000385/0.3656, allocations: 0 / 0.7382 GB, free: 7.375 MB / 0.5762 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.01521/0.3809, allocations: 6.326 MB / 0.7443 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.3809, allocations: 8.031 kB / 0.7443 GB, free: 0.9727 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3966/0.7775, allocations: 1.058 MB / 0.7454 GB, free: 98.81 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009359/0.7869, allocations: 3.606 MB / 0.7489 GB, free: 97.66 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004334/0.7874, allocations: 428.5 kB / 0.7493 GB, free: 97.48 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001702/0.7891, allocations: 0.5438 MB / 0.7498 GB, free: 97.3 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02252/0.8116, allocations: 9.378 MB / 0.759 GB, free: 93.42 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002055/0.8119, allocations: 20.31 kB / 0.759 GB, free: 93.41 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009961/0.8129, allocations: 247.5 kB / 0.7593 GB, free: 93.23 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008032/0.8137, allocations: 427.6 kB / 0.7597 GB, free: 93.18 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0156/0.8293, allocations: 7.126 MB / 0.7666 GB, free: 90.02 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03605/0.8654, allocations: 40.99 MB / 0.8066 GB, free: 49.75 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003394/0.8688, allocations: 3.106 MB / 0.8097 GB, free: 46.64 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002106/0.8709, allocations: 2.153 MB / 0.8118 GB, free: 44.5 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.583e-05/0.871, allocations: 22 kB / 0.8118 GB, free: 44.48 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.571e-05/0.8711, allocations: 64.5 kB / 0.8119 GB, free: 44.41 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=209): time 3.587e-06/0.8711, allocations: 0 / 0.8119 GB, free: 44.41 MB / 0.5762 GB Notification: Performance of matching and sorting (n=212): time 0.01934/0.8904, allocations: 10.56 MB / 0.8222 GB, free: 33.75 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.815e-05/0.8905, allocations: 77.34 kB / 0.8223 GB, free: 33.66 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002115/0.8926, allocations: 2.009 MB / 0.8242 GB, free: 31.64 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001408/0.8928, allocations: 61.7 kB / 0.8243 GB, free: 31.57 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009128/0.8937, allocations: 2.407 MB / 0.8266 GB, free: 29.14 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003972/0.8941, allocations: 0.727 MB / 0.8273 GB, free: 28.42 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005736/0.8947, allocations: 477.2 kB / 0.8278 GB, free: 27.95 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.048e-05/0.8947, allocations: 309.1 kB / 0.8281 GB, free: 27.64 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001481/0.8962, allocations: 1.377 MB / 0.8294 GB, free: 26.26 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001758/0.898, allocations: 2.1 MB / 0.8315 GB, free: 23.85 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003459/0.9015, allocations: 3.766 MB / 0.8352 GB, free: 19.77 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/0.9015, allocations: 4 kB / 0.8352 GB, free: 19.77 MB / 0.5762 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.006381/0.9079, allocations: 5.068 MB / 0.8401 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.9079, allocations: 16 kB / 0.8401 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.169e-05/0.9079, allocations: 24.83 kB / 0.8401 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002829/0.9108, allocations: 1.599 MB / 0.8417 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001403/0.9122, allocations: 455.2 kB / 0.8421 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01935/0.9315, allocations: 18.57 MB / 0.8603 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002286/0.9339, allocations: 155.8 kB / 0.8604 GB, free: 9.316 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003517/0.9342, allocations: 104 kB / 0.8605 GB, free: 9.215 MB / 0.5919 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.003099/0.9373, allocations: 1.949 MB / 0.8624 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006077/0.9379, allocations: 284.7 kB / 0.8627 GB, free: 6.973 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007039/0.945, allocations: 4.451 MB / 0.867 GB, free: 2.488 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.621e-05/0.945, allocations: 23.84 kB / 0.8671 GB, free: 2.469 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.198e-05/0.9451, allocations: 16 kB / 0.8671 GB, free: 2.453 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.84e-05/0.9451, allocations: 11.95 kB / 0.8671 GB, free: 2.441 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01422/0.9593, allocations: 9.667 MB / 0.8765 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.047e-05/0.9593, allocations: 4 kB / 0.8765 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009922/0.9603, allocations: 231.6 kB / 0.8768 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003196/0.9635, allocations: 1.426 MB / 0.8782 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001422/0.9637, allocations: 43.98 kB / 0.8782 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02399/0.9877, allocations: 18.56 MB / 0.8963 GB, free: 3.852 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.562e-06/0.9877, allocations: 4.156 kB / 0.8963 GB, free: 3.848 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008361/0.9961, allocations: 4.55 MB / 0.9008 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001747/0.9979, allocations: 0.6342 MB / 0.9014 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008348/0.9988, allocations: 40 kB / 0.9014 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001857/1.001, allocations: 115.9 kB / 0.9015 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006069/1.001, allocations: 181.6 kB / 0.9017 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001922/1.001, allocations: 56 kB / 0.9018 GB, free: 14.17 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002453/1.004, allocations: 1.319 MB / 0.9031 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.61e-07/1.004, allocations: 0 / 0.9031 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.004122/1.008, allocations: 1.137 MB / 0.9042 GB, free: 11.71 MB / 0.6387 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.000428/1.009, allocations: 170.9 kB / 0.9043 GB, free: 11.53 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.008017/1.017, allocations: 4.707 MB / 0.9089 GB, free: 6.77 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.028e-05/1.017, allocations: 0 / 0.9089 GB, free: 6.77 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.004819/1.021, allocations: 2.941 MB / 0.9118 GB, free: 3.789 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005271/1.027, allocations: 0.8819 MB / 0.9127 GB, free: 2.934 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0198/1.047, allocations: 9.264 MB / 0.9217 GB, free: 9.602 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005475/1.052, allocations: 3.698 MB / 0.9253 GB, free: 5.867 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002251/1.054, allocations: 0.5518 MB / 0.9259 GB, free: 5.309 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004539/1.055, allocations: 155.4 kB / 0.926 GB, free: 5.156 MB / 0.6544 GB Notification: Performance of SimCode: time 8.02e-07/1.055, allocations: 0 / 0.926 GB, free: 5.156 MB / 0.6544 GB Notification: Performance of Templates: time 0.09422/1.149, allocations: 51.63 MB / 0.9764 GB, free: 2.281 MB / 0.7012 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)