Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_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.0008767/0.0008766, allocations: 96.27 kB / 15.69 MB, free: 480 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.0008813/0.0008813, allocations: 176.2 kB / 16.57 MB, free: 6.395 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.273/1.273, allocations: 223.2 MB / 240.5 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6106/0.6106, allocations: 113.7 MB / 405.3 MB, free: 4.672 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002938/0.0002939, allocations: 19.97 kB / 493 MB, free: 8.578 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1374, allocations: 77.1 MB / 0.5567 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.2918/0.4292, allocations: 28.79 MB / 0.5849 GB, free: 15.39 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02028/0.4495, allocations: 13.82 MB / 0.5984 GB, free: 14.54 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003345/0.4529, allocations: 125.5 kB / 0.5985 GB, free: 14.49 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002248/0.4552, allocations: 0.7002 MB / 0.5992 GB, free: 14.11 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008783/0.464, allocations: 2.268 MB / 0.6014 GB, free: 13.41 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005899/0.4699, allocations: 1.402 MB / 0.6027 GB, free: 12.84 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.009428/0.4793, allocations: 4.587 MB / 0.6072 GB, free: 10.95 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01484/0.4942, allocations: 9.842 MB / 0.6168 GB, free: 6.965 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005022/0.4993, allocations: 2.629 MB / 0.6194 GB, free: 5.441 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005309/0.5046, allocations: 2.42 MB / 0.6218 GB, free: 3.992 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001607/0.5062, allocations: 296.8 kB / 0.622 GB, free: 3.992 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003564/0.5098, allocations: 0.6982 MB / 0.6227 GB, free: 3.789 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002092/0.5119, allocations: 2.11 MB / 0.6248 GB, free: 2.59 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001817/0.5137, allocations: 1.125 MB / 0.6259 GB, free: 1.953 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008555/0.5223, allocations: 9.03 MB / 0.6347 GB, free: 10.73 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.5223, allocations: 0 / 0.6347 GB, free: 10.73 MB / 462.1 MB Notification: Performance of FrontEnd: time 5.33e-06/0.5223, allocations: 11.98 kB / 0.6347 GB, free: 10.72 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003372/0.5227, allocations: 0 / 0.6347 GB, free: 10.72 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01109/0.5338, allocations: 4.856 MB / 0.6395 GB, free: 5.793 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.5338, allocations: 8.031 kB / 0.6395 GB, free: 5.785 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001804/0.5356, allocations: 0.7386 MB / 0.6402 GB, free: 5.035 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006151/0.5418, allocations: 1.11 MB / 0.6413 GB, free: 3.918 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007719/0.5495, allocations: 3.243 MB / 0.6444 GB, free: 0.5977 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003195/0.5499, allocations: 374 kB / 0.6448 GB, free: 236 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001397/0.5513, allocations: 495.9 kB / 0.6453 GB, free: 15.74 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01432/0.5656, allocations: 7.919 MB / 0.653 GB, free: 7.543 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001247/0.5658, allocations: 23.83 kB / 0.653 GB, free: 7.52 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005304/0.5663, allocations: 219.9 kB / 0.6532 GB, free: 7.305 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001019/0.5674, allocations: 437.6 kB / 0.6537 GB, free: 6.875 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01112/0.5785, allocations: 6.049 MB / 0.6596 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03897/0.6175, allocations: 35.22 MB / 0.694 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002619/0.6201, allocations: 2.015 MB / 0.6959 GB, free: 8.41 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 8.57e-05/0.6202, allocations: 21.98 kB / 0.6959 GB, free: 8.391 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.363e-05/0.6203, allocations: 64.5 kB / 0.696 GB, free: 8.32 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=171): time 2.945e-06/0.6203, allocations: 0 / 0.696 GB, free: 8.32 MB / 0.5137 GB Notification: Performance of matching and sorting (n=276): time 0.1409/0.7612, allocations: 38.98 MB / 0.7341 GB, free: 1.242 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.923e-05/0.7613, allocations: 81.58 kB / 0.7341 GB, free: 1.148 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003176/0.7645, allocations: 2.262 MB / 0.7364 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003795/0.7649, allocations: 65.7 kB / 0.7364 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001332/0.7662, allocations: 2.28 MB / 0.7386 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008169/0.767, allocations: 0.9396 MB / 0.7396 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001725/0.7672, allocations: 60 kB / 0.7396 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001769/0.7674, allocations: 428.1 kB / 0.74 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002498/0.7699, allocations: 1.954 MB / 0.7419 GB, free: 9.098 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002789/0.7727, allocations: 2.579 MB / 0.7445 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00287/0.7756, allocations: 2.376 MB / 0.7468 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.198e-06/0.7756, allocations: 4 kB / 0.7468 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01273/0.7883, allocations: 7.721 MB / 0.7543 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.95e-05/0.7884, allocations: 12 kB / 0.7543 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.366e-05/0.7884, allocations: 16 kB / 0.7543 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00831/0.7967, allocations: 3.216 MB / 0.7575 GB, free: 8.824 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001751/0.7985, allocations: 399.3 kB / 0.7579 GB, free: 8.434 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04083/0.8393, allocations: 32.35 MB / 0.7895 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002995/0.8424, allocations: 159.8 kB / 0.7896 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002834/0.8427, allocations: 108 kB / 0.7897 GB, free: 7.016 MB / 0.6075 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(10,71.0%) 28,(10,65.0%) 28,(6,77.8%) 24,(6,77.8%) 24,(5,92.0%) 17,(5,92.0%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003117/0.8458, allocations: 1.797 MB / 0.7915 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006472/0.8465, allocations: 336 kB / 0.7918 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01231/0.8588, allocations: 7.326 MB / 0.7989 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.768e-05/0.8588, allocations: 24 kB / 0.799 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.294e-05/0.8589, allocations: 32 kB / 0.799 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-05/0.859, allocations: 19.91 kB / 0.799 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02226/0.8812, allocations: 12.9 MB / 0.8116 GB, free: 336 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.642e-05/0.8813, allocations: 8 kB / 0.8116 GB, free: 328 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009246/0.8822, allocations: 239.7 kB / 0.8119 GB, free: 88 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007321/0.8895, allocations: 2.841 MB / 0.8146 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002761/0.8898, allocations: 52 kB / 0.8147 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2724/1.162, allocations: 31.17 MB / 0.8451 GB, free: 202.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.175e-05/1.162, allocations: 15.28 kB / 0.8451 GB, free: 202.5 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01062/1.173, allocations: 7.419 MB / 0.8524 GB, free: 198.9 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001437/1.174, allocations: 0.7865 MB / 0.8531 GB, free: 198.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003715/1.175, allocations: 49.66 kB / 0.8532 GB, free: 198.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001514/1.176, allocations: 169.4 kB / 0.8534 GB, free: 198.5 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005648/1.177, allocations: 256.2 kB / 0.8536 GB, free: 198.5 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001597/1.177, allocations: 74.94 kB / 0.8537 GB, free: 198.4 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001744/1.179, allocations: 1.499 MB / 0.8551 GB, free: 197.9 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.31e-07/1.179, allocations: 0 / 0.8551 GB, free: 197.9 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003077/1.182, allocations: 1.37 MB / 0.8565 GB, free: 197.8 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(5,84.0%) 17,(6,77.8%) 24,(10,65.0%) 28,(5,92.0%) 17,(6,77.8%) 24,(10,65.0%) 28} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009612/1.192, allocations: 9.667 MB / 0.8659 GB, free: 192.1 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.008405/1.2, allocations: 6.906 MB / 0.8727 GB, free: 188.9 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/1.2, allocations: 0 / 0.8727 GB, free: 188.9 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.005338/1.205, allocations: 4.409 MB / 0.877 GB, free: 186.7 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002831/1.208, allocations: 0.9888 MB / 0.8779 GB, free: 186.5 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03711/1.245, allocations: 43.8 MB / 0.9207 GB, free: 146.1 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002632/1.248, allocations: 3.741 MB / 0.9244 GB, free: 142.3 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001514/1.249, allocations: 0.5595 MB / 0.9249 GB, free: 141.8 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001417/1.251, allocations: 1.972 MB / 0.9268 GB, free: 139.8 MB / 0.6387 GB Notification: Performance of SimCode: time 1.262e-06/1.251, allocations: 0 / 0.9268 GB, free: 139.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 8.543/9.793, allocations: 107.3 MB / 1.032 GB, free: 33.69 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001438/9.794, allocations: 226.7 kB / 1.032 GB, free: 33.45 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.85/13.64, allocations: 0 / 1.032 GB, free: 33.45 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) Environment - environmentSimulation: