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: "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",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.001079/0.001079, allocations: 101.3 kB / 16.27 MB, free: 6.414 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.001124/0.001124, allocations: 188.9 kB / 17.2 MB, free: 5.949 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.249/1.249, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.709/0.709, allocations: 122.9 MB / 413.9 MB, free: 15.96 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 67.89 kB / 0.4912 GB, free: 7.363 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2936/0.295, allocations: 77.92 MB / 0.5673 GB, free: 32.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.03063/0.3256, allocations: 37.94 MB / 0.6043 GB, free: 4.723 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0161/0.3418, allocations: 11 MB / 0.6151 GB, free: 9.746 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003566/0.3454, allocations: 155.2 kB / 0.6152 GB, free: 9.594 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00973/0.3552, allocations: 4.357 MB / 0.6195 GB, free: 5.246 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005512/0.3607, allocations: 2.226 MB / 0.6217 GB, free: 3.023 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004896/0.3656, allocations: 2.159 MB / 0.6238 GB, free: 0.875 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.009433/0.3751, allocations: 9.279 MB / 0.6328 GB, free: 7.574 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01326/0.3883, allocations: 11.36 MB / 0.6439 GB, free: 12.11 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005656/0.394, allocations: 3.981 MB / 0.6478 GB, free: 8.117 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007095/0.4011, allocations: 4.506 MB / 0.6522 GB, free: 3.598 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002156/0.4033, allocations: 0.8242 MB / 0.653 GB, free: 2.773 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004305/0.4076, allocations: 1.584 MB / 0.6546 GB, free: 1.188 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004073/0.4117, allocations: 3.158 MB / 0.6576 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.005817/0.4176, allocations: 3.649 MB / 0.6612 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01139/0.429, allocations: 12.24 MB / 0.6732 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.429, allocations: 0 / 0.6732 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.332e-06/0.429, allocations: 0 / 0.6732 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0003038/0.4293, allocations: 0 / 0.6732 GB, free: 14.08 MB / 0.5137 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.01162/0.4409, allocations: 6.307 MB / 0.6793 GB, free: 7.703 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.441, allocations: 8.031 kB / 0.6793 GB, free: 7.695 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009513/0.4419, allocations: 0.8255 MB / 0.6801 GB, free: 6.859 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004304/0.4462, allocations: 1.071 MB / 0.6812 GB, free: 5.781 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00467/0.4509, allocations: 3.423 MB / 0.6845 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002427/0.4512, allocations: 423.7 kB / 0.6849 GB, free: 1.891 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007283/0.4519, allocations: 0.5432 MB / 0.6855 GB, free: 1.348 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01319/0.4651, allocations: 9.382 MB / 0.6946 GB, free: 7.629 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00011/0.4652, allocations: 23.81 kB / 0.6946 GB, free: 7.605 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005471/0.4658, allocations: 248 kB / 0.6949 GB, free: 7.363 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005188/0.4663, allocations: 418.9 kB / 0.6953 GB, free: 6.953 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01166/0.478, allocations: 7.123 MB / 0.7022 GB, free: 15.82 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03702/0.515, allocations: 41.32 MB / 0.7426 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2083/0.7234, allocations: 3.095 MB / 0.7456 GB, free: 152.2 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00296/0.7263, allocations: 2.142 MB / 0.7477 GB, free: 151.9 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001058/0.7265, allocations: 22.8 kB / 0.7477 GB, free: 151.9 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.811e-05/0.7265, allocations: 62.86 kB / 0.7478 GB, free: 151.8 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=209): time 3.807e-06/0.7265, allocations: 1.125 kB / 0.7478 GB, free: 151.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=212): time 0.02214/0.7487, allocations: 10.56 MB / 0.7581 GB, free: 148.3 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.7487, allocations: 75.53 kB / 0.7582 GB, free: 148.2 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002423/0.7512, allocations: 2.006 MB / 0.7601 GB, free: 147.4 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001835/0.7514, allocations: 63.64 kB / 0.7602 GB, free: 147.4 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001035/0.7524, allocations: 2.402 MB / 0.7625 GB, free: 145.5 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004553/0.7529, allocations: 0.7311 MB / 0.7633 GB, free: 145 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006265/0.7535, allocations: 478.3 kB / 0.7637 GB, free: 144.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.613e-05/0.7535, allocations: 302.3 kB / 0.764 GB, free: 144.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001536/0.7551, allocations: 1.375 MB / 0.7653 GB, free: 143.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001756/0.7568, allocations: 2.111 MB / 0.7674 GB, free: 142.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003725/0.7606, allocations: 3.761 MB / 0.7711 GB, free: 140.3 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-05/0.7606, allocations: 10.06 kB / 0.7711 GB, free: 140.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.006663/0.7673, allocations: 5.061 MB / 0.776 GB, free: 138.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.643e-05/0.7673, allocations: 26.8 kB / 0.7761 GB, free: 138.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.219e-05/0.7673, allocations: 23.06 kB / 0.7761 GB, free: 138.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002734/0.7701, allocations: 1.589 MB / 0.7776 GB, free: 137.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001323/0.7714, allocations: 459.3 kB / 0.7781 GB, free: 137.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01555/0.787, allocations: 18.58 MB / 0.7962 GB, free: 121.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002257/0.7893, allocations: 143.9 kB / 0.7963 GB, free: 121.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001444/0.7894, allocations: 112 kB / 0.7965 GB, free: 121.6 MB / 0.5762 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.002379/0.7918, allocations: 1.945 MB / 0.7984 GB, free: 119.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004087/0.7922, allocations: 288.6 kB / 0.7986 GB, free: 119.4 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005123/0.7973, allocations: 4.447 MB / 0.803 GB, free: 114.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/0.7974, allocations: 20 kB / 0.803 GB, free: 114.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.285e-05/0.7974, allocations: 24 kB / 0.803 GB, free: 114.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.26e-05/0.7974, allocations: 7.969 kB / 0.803 GB, free: 114.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01047/0.8079, allocations: 9.671 MB / 0.8125 GB, free: 105.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.8079, allocations: 4 kB / 0.8125 GB, free: 105.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008291/0.8087, allocations: 240.2 kB / 0.8127 GB, free: 104.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002537/0.8113, allocations: 1.439 MB / 0.8141 GB, free: 103.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000114/0.8114, allocations: 39.94 kB / 0.8141 GB, free: 103.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01517/0.8266, allocations: 18.57 MB / 0.8323 GB, free: 84.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.668e-06/0.8266, allocations: 11.94 kB / 0.8323 GB, free: 84.22 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005312/0.8319, allocations: 4.544 MB / 0.8367 GB, free: 79.58 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001046/0.833, allocations: 0.6422 MB / 0.8374 GB, free: 78.92 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003113/0.8333, allocations: 40 kB / 0.8374 GB, free: 78.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001139/0.8344, allocations: 119.8 kB / 0.8375 GB, free: 78.76 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003966/0.8349, allocations: 181.6 kB / 0.8377 GB, free: 78.59 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001047/0.835, allocations: 60 kB / 0.8377 GB, free: 78.53 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001285/0.8363, allocations: 1.315 MB / 0.839 GB, free: 77.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8363, allocations: 0 / 0.839 GB, free: 77.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002683/0.8389, allocations: 1.141 MB / 0.8401 GB, free: 76.06 MB / 0.5762 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.005069/0.844, allocations: 5.152 MB / 0.8452 GB, free: 70.81 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.007095/0.8511, allocations: 5.907 MB / 0.8509 GB, free: 64.87 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/0.8512, allocations: 4 kB / 0.8509 GB, free: 64.87 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003326/0.8545, allocations: 2.909 MB / 0.8538 GB, free: 61.91 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003205/0.8577, allocations: 0.8954 MB / 0.8547 GB, free: 61.05 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03321/0.8909, allocations: 33.63 MB / 0.8875 GB, free: 24.93 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00279/0.8937, allocations: 3.698 MB / 0.8911 GB, free: 21.19 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001657/0.8954, allocations: 0.5635 MB / 0.8917 GB, free: 20.62 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001465/0.8969, allocations: 1.944 MB / 0.8936 GB, free: 18.68 MB / 0.5762 GB Notification: Performance of SimCode: time 8.81e-07/0.8969, allocations: 0 / 0.8936 GB, free: 18.68 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.855/3.752, allocations: 85.66 MB / 0.9772 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.84/16.59, allocations: 0 / 0.9772 GB, free: 13.96 MB / 0.6544 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)