Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 206.6 kB / 16.79 MB, free: 6.84 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.379/1.379, allocations: 222.9 MB / 240.5 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7565/0.7565, allocations: 122.9 MB / 413.5 MB, free: 11.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 64.33 kB / 0.4904 GB, free: 14.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1992/0.2005, allocations: 77.93 MB / 0.5665 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.3792/0.5798, allocations: 26.41 MB / 0.5923 GB, free: 13.29 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01472/0.5945, allocations: 8.048 MB / 0.6002 GB, free: 8.285 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003847/0.5984, allocations: 111.7 kB / 0.6003 GB, free: 8.242 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006432/0.6049, allocations: 2.57 MB / 0.6028 GB, free: 6.707 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006131/0.6111, allocations: 1.493 MB / 0.6043 GB, free: 5.82 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005463/0.6165, allocations: 1.529 MB / 0.6057 GB, free: 4.906 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01318/0.6297, allocations: 8.714 MB / 0.6143 GB, free: 1.77 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01342/0.6432, allocations: 8.187 MB / 0.6223 GB, free: 13.72 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00506/0.6483, allocations: 2.194 MB / 0.6244 GB, free: 12.56 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005481/0.6538, allocations: 2.886 MB / 0.6272 GB, free: 10.88 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009939/0.6548, allocations: 345.8 kB / 0.6275 GB, free: 10.88 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004021/0.6589, allocations: 1.33 MB / 0.6288 GB, free: 9.863 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002649/0.6615, allocations: 1.883 MB / 0.6307 GB, free: 7.977 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003384/0.6649, allocations: 2.189 MB / 0.6328 GB, free: 5.777 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008371/0.6733, allocations: 7.922 MB / 0.6406 GB, free: 13.83 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.6733, allocations: 0 / 0.6406 GB, free: 13.83 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.6733, allocations: 0 / 0.6406 GB, free: 13.83 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.000206/0.6736, allocations: 0 / 0.6406 GB, free: 13.83 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.008921/0.6825, allocations: 4.236 MB / 0.6447 GB, free: 9.531 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.6826, allocations: 8.031 kB / 0.6447 GB, free: 9.523 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004413/0.687, allocations: 0.7962 MB / 0.6455 GB, free: 8.723 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005127/0.6921, allocations: 2.424 MB / 0.6478 GB, free: 6.242 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001976/0.6923, allocations: 275.6 kB / 0.6481 GB, free: 5.973 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008509/0.6932, allocations: 376.5 kB / 0.6485 GB, free: 5.605 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01172/0.7049, allocations: 5.988 MB / 0.6543 GB, free: 15.36 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001334/0.7051, allocations: 15.78 kB / 0.6543 GB, free: 15.35 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006791/0.7058, allocations: 167.9 kB / 0.6545 GB, free: 15.18 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006292/0.7064, allocations: 278.9 kB / 0.6548 GB, free: 14.91 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009025/0.7155, allocations: 4.524 MB / 0.6592 GB, free: 10.38 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04118/0.7567, allocations: 27.66 MB / 0.6862 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002334/0.7591, allocations: 1.12 MB / 0.6873 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001766/0.7609, allocations: 1.023 MB / 0.6883 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001286/0.761, allocations: 13 kB / 0.6883 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.069e-05/0.7611, allocations: 43.56 kB / 0.6883 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=110): time 4.007e-06/0.7611, allocations: 0 / 0.6883 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of matching and sorting (n=131): time 0.02374/0.7849, allocations: 9.676 MB / 0.6978 GB, free: 108 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/0.785, allocations: 68.66 kB / 0.6978 GB, free: 28 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002633/0.7876, allocations: 1.494 MB / 0.6993 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.00017/0.7878, allocations: 45.7 kB / 0.6994 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001206/0.789, allocations: 1.663 MB / 0.701 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000511/0.7895, allocations: 473.3 kB / 0.7014 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006072/0.7901, allocations: 327.2 kB / 0.7017 GB, free: 12 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.354e-05/0.7903, allocations: 309.1 kB / 0.702 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001397/0.7917, allocations: 0.9174 MB / 0.7029 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001813/0.7935, allocations: 1.455 MB / 0.7044 GB, free: 9.09 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003455/0.7969, allocations: 2.546 MB / 0.7068 GB, free: 6.301 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-05/0.797, allocations: 8 kB / 0.7068 GB, free: 6.293 MB / 0.5294 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006301/0.8033, allocations: 3.294 MB / 0.7101 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.995e-05/0.8034, allocations: 12 kB / 0.7101 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.43e-05/0.8034, allocations: 20 kB / 0.7101 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002512/0.8059, allocations: 0.7335 MB / 0.7108 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001642/0.8076, allocations: 387.3 kB / 0.7112 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01648/0.8241, allocations: 15.76 MB / 0.7266 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002546/0.8267, allocations: 107.9 kB / 0.7267 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005549/0.8273, allocations: 76 kB / 0.7267 GB, free: 0.6445 MB / 0.545 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003439/0.8307, allocations: 1.305 MB / 0.728 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006674/0.8314, allocations: 205.6 kB / 0.7282 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00579/0.8372, allocations: 2.788 MB / 0.7309 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-05/0.8372, allocations: 12 kB / 0.7309 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-05/0.8373, allocations: 8.328 kB / 0.731 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.822e-05/0.8373, allocations: 19.89 kB / 0.731 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01308/0.8504, allocations: 6.221 MB / 0.737 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.405e-05/0.8505, allocations: 4 kB / 0.7371 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001196/0.8517, allocations: 227.6 kB / 0.7373 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002138/0.8538, allocations: 0.6711 MB / 0.7379 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001357/0.854, allocations: 32 kB / 0.738 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01525/0.8692, allocations: 15.5 MB / 0.7531 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.257e-06/0.8693, allocations: 11.94 kB / 0.7531 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007358/0.8766, allocations: 4.008 MB / 0.757 GB, free: 76 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001375/0.8781, allocations: 462.6 kB / 0.7575 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005839/0.8787, allocations: 32 kB / 0.7575 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001434/0.8801, allocations: 79.89 kB / 0.7576 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005122/0.8806, allocations: 116.7 kB / 0.7577 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001193/0.8808, allocations: 39.94 kB / 0.7577 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002291/0.8831, allocations: 0.9942 MB / 0.7587 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.062e-06/0.8831, allocations: 0 / 0.7587 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003408/0.8865, allocations: 0.6836 MB / 0.7594 GB, free: 13.67 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004618/0.887, allocations: 155.8 kB / 0.7595 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.005726/0.8927, allocations: 3.51 MB / 0.7629 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.417e-06/0.8927, allocations: 0 / 0.7629 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003325/0.8961, allocations: 2.288 MB / 0.7652 GB, free: 7.484 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003149/0.8992, allocations: 0.6119 MB / 0.7658 GB, free: 6.879 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01213/0.9114, allocations: 8.117 MB / 0.7737 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003649/0.9151, allocations: 2.668 MB / 0.7763 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002103/0.9172, allocations: 489.4 kB / 0.7768 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004782/0.9177, allocations: 119.4 kB / 0.7769 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of SimCode: time 8.21e-07/0.9177, allocations: 0 / 0.7769 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of Templates: time 0.05976/0.9775, allocations: 32.56 MB / 0.8087 GB, free: 11.28 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)