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: "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000899/0.0008987, allocations: 93.73 kB / 16.02 MB, free: 84 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.001064/0.001064, allocations: 172.8 kB / 16.91 MB, free: 6.68 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.283/1.283, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6622/0.6622, allocations: 115.5 MB / 407.6 MB, free: 2.742 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003194/0.0003195, allocations: 11.98 kB / 496 MB, free: 6.289 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.1673, allocations: 77.53 MB / 0.5601 GB, free: 8.961 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.3157/0.4831, allocations: 25.7 MB / 0.5852 GB, free: 16.09 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0141/0.4972, allocations: 7.986 MB / 0.593 GB, free: 15.99 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00275/0.5, allocations: 100.9 kB / 0.593 GB, free: 15.99 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001396/0.5014, allocations: 0.5282 MB / 0.5936 GB, free: 15.76 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00428/0.5057, allocations: 1.483 MB / 0.595 GB, free: 15.39 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004091/0.5098, allocations: 1.407 MB / 0.5964 GB, free: 14.82 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01169/0.5215, allocations: 8.702 MB / 0.6049 GB, free: 12.23 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01632/0.5379, allocations: 9.163 MB / 0.6138 GB, free: 8.625 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005789/0.5437, allocations: 1.852 MB / 0.6156 GB, free: 7.711 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005081/0.5488, allocations: 2.463 MB / 0.618 GB, free: 6.496 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00117/0.55, allocations: 209.9 kB / 0.6182 GB, free: 6.496 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003699/0.5537, allocations: 1.202 MB / 0.6194 GB, free: 6.02 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002429/0.5562, allocations: 1.67 MB / 0.6211 GB, free: 5.078 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002694/0.5589, allocations: 1.956 MB / 0.623 GB, free: 3.77 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006429/0.5653, allocations: 7.68 MB / 0.6305 GB, free: 13.25 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.5653, allocations: 0 / 0.6305 GB, free: 13.25 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.5653, allocations: 0 / 0.6305 GB, free: 13.25 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000174/0.5655, allocations: 0 / 0.6305 GB, free: 13.25 MB / 462.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.007268/0.5728, allocations: 3.425 MB / 0.6338 GB, free: 9.789 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.5729, allocations: 8.031 kB / 0.6338 GB, free: 9.781 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001003/0.5739, allocations: 0.5355 MB / 0.6343 GB, free: 9.242 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004248/0.5781, allocations: 0.8032 MB / 0.6351 GB, free: 8.438 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004145/0.5823, allocations: 2.431 MB / 0.6375 GB, free: 5.984 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001914/0.5825, allocations: 272.3 kB / 0.6378 GB, free: 5.727 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006943/0.5832, allocations: 382 kB / 0.6381 GB, free: 5.359 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009364/0.5926, allocations: 5.991 MB / 0.644 GB, free: 15.13 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.71e-05/0.5927, allocations: 19.78 kB / 0.644 GB, free: 15.11 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003583/0.5931, allocations: 157.9 kB / 0.6441 GB, free: 14.96 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005707/0.5936, allocations: 282.9 kB / 0.6444 GB, free: 14.69 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007432/0.6011, allocations: 4.524 MB / 0.6488 GB, free: 10.16 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02655/0.6277, allocations: 27.69 MB / 0.6759 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001528/0.6292, allocations: 1.125 MB / 0.677 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001273/0.6305, allocations: 1.019 MB / 0.678 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.14e-05/0.6306, allocations: 13 kB / 0.678 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.883e-05/0.6306, allocations: 43.56 kB / 0.678 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=110): time 2.665e-06/0.6306, allocations: 0 / 0.678 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of matching and sorting (n=131): time 0.02106/0.6517, allocations: 9.685 MB / 0.6875 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.6518, allocations: 72.7 kB / 0.6875 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001959/0.6537, allocations: 1.49 MB / 0.689 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001286/0.6539, allocations: 49.7 kB / 0.689 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001067/0.655, allocations: 1.669 MB / 0.6907 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003833/0.6554, allocations: 472.4 kB / 0.6911 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002002/0.6556, allocations: 137.6 kB / 0.6913 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.544e-05/0.6557, allocations: 309.1 kB / 0.6916 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001276/0.6569, allocations: 0.9135 MB / 0.6924 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001714/0.6587, allocations: 1.471 MB / 0.6939 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003187/0.6619, allocations: 2.546 MB / 0.6964 GB, free: 6.359 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.029e-05/0.6619, allocations: 4 kB / 0.6964 GB, free: 6.355 MB / 0.5137 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005767/0.6677, allocations: 3.289 MB / 0.6996 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.269e-05/0.6677, allocations: 12 kB / 0.6996 GB, free: 3.016 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.135e-05/0.6677, allocations: 16 kB / 0.6996 GB, free: 3 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002273/0.67, allocations: 0.7458 MB / 0.7003 GB, free: 2.227 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001523/0.6716, allocations: 383.4 kB / 0.7007 GB, free: 1.852 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01462/0.6862, allocations: 15.77 MB / 0.7161 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001795/0.688, allocations: 99.91 kB / 0.7162 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001465/0.6882, allocations: 79.98 kB / 0.7163 GB, free: 0.7031 MB / 0.5294 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.00252/0.6907, allocations: 1.311 MB / 0.7176 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004029/0.6911, allocations: 205.6 kB / 0.7178 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00501/0.6961, allocations: 2.788 MB / 0.7205 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.169e-05/0.6962, allocations: 12 kB / 0.7205 GB, free: 12.34 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.214e-05/0.6962, allocations: 8 kB / 0.7205 GB, free: 12.34 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/0.6962, allocations: 3.984 kB / 0.7205 GB, free: 12.33 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01019/0.7064, allocations: 6.22 MB / 0.7266 GB, free: 5.977 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.18e-05/0.7065, allocations: 4 kB / 0.7266 GB, free: 5.973 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001138/0.7076, allocations: 232.3 kB / 0.7268 GB, free: 5.746 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00197/0.7096, allocations: 0.6712 MB / 0.7275 GB, free: 5.047 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.57e-05/0.7097, allocations: 39.98 kB / 0.7275 GB, free: 5.008 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0143/0.724, allocations: 15.53 MB / 0.7427 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.353e-06/0.724, allocations: 8 kB / 0.7427 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006218/0.7303, allocations: 4 MB / 0.7466 GB, free: 168 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001021/0.7313, allocations: 466.5 kB / 0.747 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002071/0.7315, allocations: 39.98 kB / 0.7471 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008771/0.7324, allocations: 75.91 kB / 0.7471 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002964/0.7327, allocations: 124.7 kB / 0.7472 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.079e-05/0.7328, allocations: 36 kB / 0.7473 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001295/0.7341, allocations: 0.9942 MB / 0.7482 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7341, allocations: 0 / 0.7482 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002198/0.7363, allocations: 0.6875 MB / 0.7489 GB, free: 13.75 MB / 0.5762 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.006184/0.7425, allocations: 4.599 MB / 0.7534 GB, free: 9.023 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.005045/0.7476, allocations: 3.507 MB / 0.7568 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.684e-06/0.7476, allocations: 0 / 0.7568 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003118/0.7507, allocations: 2.288 MB / 0.7591 GB, free: 3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004017/0.7547, allocations: 0.6113 MB / 0.7597 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03739/0.7922, allocations: 24.35 MB / 0.7834 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002688/0.7949, allocations: 2.66 MB / 0.786 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001567/0.7965, allocations: 493.4 kB / 0.7865 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001409/0.7979, allocations: 1.284 MB / 0.7878 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of SimCode: time 7.91e-07/0.7979, allocations: 0 / 0.7878 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3542/1.152, allocations: 54.17 MB / 0.8407 GB, free: 205.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001602/1.152, allocations: 242 kB / 0.8409 GB, free: 205.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.735/3.888, allocations: 0.9844 kB / 0.8409 GB, free: 205.2 MB / 0.6387 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)