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.000709/0.000709, allocations: 88.17 kB / 15.7 MB, free: 460 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.0007457/0.0007457, allocations: 175.1 kB / 16.58 MB, free: 6.504 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.225/1.225, allocations: 223.2 MB / 240.6 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6456/0.6456, allocations: 113.7 MB / 405.4 MB, free: 4.602 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002753/0.0002753, allocations: 8 kB / 493.2 MB, free: 8.555 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1273, allocations: 77.11 MB / 0.5569 GB, free: 11.65 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.2671/0.3944, allocations: 34.59 MB / 0.5907 GB, free: 15.3 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01503/0.4095, allocations: 10.49 MB / 0.6009 GB, free: 13.79 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002881/0.4124, allocations: 133.9 kB / 0.6011 GB, free: 13.74 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002171/0.4146, allocations: 0.762 MB / 0.6018 GB, free: 13.29 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004937/0.4196, allocations: 1.8 MB / 0.6036 GB, free: 12.57 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004057/0.4236, allocations: 1.281 MB / 0.6048 GB, free: 12.01 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01107/0.4347, allocations: 10.36 MB / 0.6149 GB, free: 7.75 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01849/0.4532, allocations: 12.67 MB / 0.6273 GB, free: 1.016 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00548/0.4587, allocations: 2.868 MB / 0.6301 GB, free: 15.53 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006308/0.4651, allocations: 3.766 MB / 0.6338 GB, free: 11.86 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001391/0.4665, allocations: 344 kB / 0.6341 GB, free: 11.52 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003186/0.4697, allocations: 0.7181 MB / 0.6348 GB, free: 10.8 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003239/0.4729, allocations: 2.51 MB / 0.6373 GB, free: 8.289 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001718/0.4747, allocations: 1.198 MB / 0.6384 GB, free: 7.082 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008208/0.4829, allocations: 10.19 MB / 0.6484 GB, free: 12.87 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.4829, allocations: 0 / 0.6484 GB, free: 12.87 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4829, allocations: 0 / 0.6484 GB, free: 12.87 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0002006/0.4831, allocations: 0 / 0.6484 GB, free: 12.87 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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.008017/0.4911, allocations: 5.145 MB / 0.6534 GB, free: 7.656 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.4912, allocations: 12.03 kB / 0.6534 GB, free: 7.645 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001009/0.4922, allocations: 0.8292 MB / 0.6542 GB, free: 6.805 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004051/0.4962, allocations: 1.058 MB / 0.6553 GB, free: 5.738 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004418/0.5007, allocations: 3.345 MB / 0.6585 GB, free: 2.34 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002383/0.5009, allocations: 423.4 kB / 0.6589 GB, free: 1.926 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006849/0.5016, allocations: 0.5507 MB / 0.6595 GB, free: 1.375 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01292/0.5145, allocations: 9.33 MB / 0.6686 GB, free: 7.711 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.86e-05/0.5147, allocations: 19.78 kB / 0.6686 GB, free: 7.691 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004862/0.5152, allocations: 244 kB / 0.6688 GB, free: 7.453 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004895/0.5157, allocations: 430.8 kB / 0.6693 GB, free: 7.031 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01046/0.5261, allocations: 7.073 MB / 0.6762 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03623/0.5624, allocations: 41.36 MB / 0.7166 GB, free: 2.844 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003956/0.5664, allocations: 3.089 MB / 0.7196 GB, free: 15.75 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002512/0.5689, allocations: 2.118 MB / 0.7216 GB, free: 13.62 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001046/0.569, allocations: 22 kB / 0.7217 GB, free: 13.6 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.925e-05/0.5691, allocations: 64.5 kB / 0.7217 GB, free: 13.53 MB / 0.545 GB Notification: Performance of pre-optimization done (n=209): time 3.536e-06/0.5691, allocations: 0 / 0.7217 GB, free: 13.53 MB / 0.545 GB Notification: Performance of matching and sorting (n=212): time 0.02057/0.5897, allocations: 10.45 MB / 0.7319 GB, free: 2.984 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.997e-05/0.5898, allocations: 73.41 kB / 0.732 GB, free: 2.898 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002681/0.5924, allocations: 1.994 MB / 0.7339 GB, free: 0.8867 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.000147/0.5926, allocations: 61.7 kB / 0.734 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001334/0.5939, allocations: 2.396 MB / 0.7363 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000566/0.5945, allocations: 0.7356 MB / 0.7371 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001527/0.5947, allocations: 59.94 kB / 0.7371 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.5949, allocations: 419.4 kB / 0.7375 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001849/0.5967, allocations: 1.356 MB / 0.7388 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002238/0.599, allocations: 2.096 MB / 0.7409 GB, free: 9.402 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002214/0.6012, allocations: 1.716 MB / 0.7426 GB, free: 7.688 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.656e-05/0.6012, allocations: 8 kB / 0.7426 GB, free: 7.68 MB / 0.5606 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.00722/0.6084, allocations: 5.039 MB / 0.7475 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.091e-05/0.6085, allocations: 19.95 kB / 0.7475 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.007e-05/0.6085, allocations: 20 kB / 0.7475 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003092/0.6116, allocations: 1.555 MB / 0.749 GB, free: 1.016 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001486/0.6131, allocations: 459.2 kB / 0.7495 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0188/0.6319, allocations: 17.07 MB / 0.7662 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001914/0.6339, allocations: 155.8 kB / 0.7663 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003185/0.6342, allocations: 104 kB / 0.7664 GB, free: 14.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,69.4%) 32,(6,66.7%) 24,(4,100.0%) 18,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003021/0.6372, allocations: 1.948 MB / 0.7683 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005598/0.6378, allocations: 284.9 kB / 0.7686 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006662/0.6445, allocations: 4.431 MB / 0.7729 GB, free: 8 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.846e-05/0.6445, allocations: 23.98 kB / 0.7729 GB, free: 7.977 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.413e-05/0.6446, allocations: 19.94 kB / 0.7729 GB, free: 7.957 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.759e-05/0.6446, allocations: 12.2 kB / 0.773 GB, free: 7.945 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01419/0.6588, allocations: 9.641 MB / 0.7824 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.368e-05/0.6588, allocations: 12 kB / 0.7824 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008917/0.6597, allocations: 231.6 kB / 0.7826 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002969/0.6627, allocations: 1.428 MB / 0.784 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001424/0.6629, allocations: 43.98 kB / 0.784 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02006/0.6829, allocations: 17.07 MB / 0.8007 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.308e-06/0.683, allocations: 8 kB / 0.8007 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007623/0.6906, allocations: 4.513 MB / 0.8051 GB, free: 6.23 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00157/0.6922, allocations: 0.642 MB / 0.8058 GB, free: 5.566 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006416/0.6929, allocations: 40 kB / 0.8058 GB, free: 5.527 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0015/0.6944, allocations: 119.9 kB / 0.8059 GB, free: 5.41 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005272/0.6949, allocations: 181.6 kB / 0.8061 GB, free: 5.23 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001473/0.6951, allocations: 60 kB / 0.8061 GB, free: 5.172 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.002094/0.6972, allocations: 1.292 MB / 0.8074 GB, free: 3.871 MB / 0.6231 GB Notification: Performance of sort global known variables: time 5.81e-07/0.6972, allocations: 4 kB / 0.8074 GB, free: 3.867 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.003713/0.7009, allocations: 1.141 MB / 0.8085 GB, free: 2.727 MB / 0.6231 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,100.0%) 18,(6,66.7%) 24,(4,100.0%) 18,(6,66.7%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006944/0.7079, allocations: 5.141 MB / 0.8135 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.007231/0.7151, allocations: 4.672 MB / 0.8181 GB, free: 8.762 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/0.7151, allocations: 4 kB / 0.8181 GB, free: 8.758 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.004191/0.7193, allocations: 2.922 MB / 0.821 GB, free: 5.793 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003871/0.7232, allocations: 0.8429 MB / 0.8218 GB, free: 4.957 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2872/1.01, allocations: 26.18 MB / 0.8473 GB, free: 178 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003902/1.014, allocations: 3.692 MB / 0.8509 GB, free: 177.2 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001943/1.016, allocations: 0.5502 MB / 0.8515 GB, free: 177.1 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00177/1.018, allocations: 1.952 MB / 0.8534 GB, free: 177.1 MB / 0.6387 GB Notification: Performance of SimCode: time 9.12e-07/1.018, allocations: 0 / 0.8534 GB, free: 177.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09346/1.112, allocations: 82.31 MB / 0.9338 GB, free: 109.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001456/1.112, allocations: 227 kB / 0.934 GB, free: 108.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.93/4.042, allocations: 3.938 kB / 0.934 GB, free: 108.9 MB / 0.6387 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/linux/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) Environment - environmentSimulation: