Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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_RL_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_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.0008565/0.0008566, allocations: 97.52 kB / 15.69 MB, free: 488 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.0009178/0.0009178, allocations: 175 kB / 16.57 MB, free: 6.391 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.314/1.314, allocations: 223.2 MB / 240.5 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6835/0.6835, allocations: 113.7 MB / 405.3 MB, free: 4.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003509/0.0003511, allocations: 13.09 kB / 493 MB, free: 8.594 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.1581, allocations: 77.12 MB / 0.5567 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.01778/0.1759, allocations: 17.62 MB / 0.5739 GB, free: 10 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01332/0.1892, allocations: 6.195 MB / 0.58 GB, free: 3.797 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002186/0.1915, allocations: 71.56 kB / 0.5801 GB, free: 3.727 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001965/0.1935, allocations: 409.5 kB / 0.5805 GB, free: 3.324 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004417/0.1979, allocations: 0.8645 MB / 0.5813 GB, free: 2.457 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003189/0.2011, allocations: 0.7836 MB / 0.5821 GB, free: 1.672 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.3501/0.5513, allocations: 2.304 MB / 0.5843 GB, free: 13.78 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01355/0.5649, allocations: 6.389 MB / 0.5906 GB, free: 13 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003752/0.5686, allocations: 1.318 MB / 0.5918 GB, free: 13 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003829/0.5725, allocations: 1.364 MB / 0.5932 GB, free: 12.99 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001324/0.5738, allocations: 177.9 kB / 0.5933 GB, free: 12.99 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002476/0.5763, allocations: 412.5 kB / 0.5937 GB, free: 12.99 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002136/0.5785, allocations: 1.24 MB / 0.5949 GB, free: 12.98 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001557/0.58, allocations: 0.6421 MB / 0.5956 GB, free: 12.95 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008057/0.5881, allocations: 5.291 MB / 0.6007 GB, free: 12.71 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.5881, allocations: 0 / 0.6007 GB, free: 12.71 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.5881, allocations: 1.281 kB / 0.6007 GB, free: 12.71 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002632/0.5884, allocations: 0 / 0.6007 GB, free: 12.71 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.008329/0.5967, allocations: 2.842 MB / 0.6035 GB, free: 11.22 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.5968, allocations: 9.5 kB / 0.6035 GB, free: 11.22 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001116/0.5979, allocations: 457 kB / 0.604 GB, free: 11.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003566/0.6015, allocations: 0.6226 MB / 0.6046 GB, free: 10.81 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00434/0.6058, allocations: 1.888 MB / 0.6064 GB, free: 10.1 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001648/0.606, allocations: 223.2 kB / 0.6066 GB, free: 10.09 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000529/0.6066, allocations: 297 kB / 0.6069 GB, free: 10.08 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008256/0.6148, allocations: 4.843 MB / 0.6116 GB, free: 8.535 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.978e-05/0.6149, allocations: 9.438 kB / 0.6116 GB, free: 8.531 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003165/0.6152, allocations: 127.6 kB / 0.6118 GB, free: 8.531 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004366/0.6157, allocations: 230.9 kB / 0.612 GB, free: 8.488 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006214/0.6219, allocations: 3.728 MB / 0.6156 GB, free: 7.203 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02146/0.6434, allocations: 21.61 MB / 0.6367 GB, free: 2.973 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00161/0.645, allocations: 1.308 MB / 0.638 GB, free: 1.656 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.322e-05/0.6451, allocations: 13 kB / 0.638 GB, free: 1.645 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.26e-05/0.6451, allocations: 47.56 kB / 0.6381 GB, free: 1.59 MB / 462.1 MB Notification: Performance of pre-optimization done (n=107): time 2.325e-06/0.6451, allocations: 0 / 0.6381 GB, free: 1.59 MB / 462.1 MB Notification: Performance of matching and sorting (n=138): time 0.02245/0.6676, allocations: 8.646 MB / 0.6465 GB, free: 8.891 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.858e-05/0.6677, allocations: 64.72 kB / 0.6466 GB, free: 8.812 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001414/0.6691, allocations: 1.134 MB / 0.6477 GB, free: 7.672 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001116/0.6692, allocations: 49.7 kB / 0.6477 GB, free: 7.617 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007234/0.6699, allocations: 1.295 MB / 0.649 GB, free: 6.312 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003435/0.6703, allocations: 485.3 kB / 0.6494 GB, free: 5.844 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.572e-05/0.6704, allocations: 36 kB / 0.6495 GB, free: 5.809 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.6705, allocations: 365.9 kB / 0.6498 GB, free: 5.445 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001143/0.6717, allocations: 0.9096 MB / 0.6507 GB, free: 4.535 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001413/0.6731, allocations: 1.311 MB / 0.652 GB, free: 3.059 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001392/0.6745, allocations: 1.136 MB / 0.6531 GB, free: 1.922 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.822e-06/0.6745, allocations: 4 kB / 0.6531 GB, free: 1.918 MB / 478.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005368/0.6799, allocations: 3.448 MB / 0.6565 GB, free: 14.45 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/0.6799, allocations: 12 kB / 0.6565 GB, free: 14.44 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.781e-05/0.68, allocations: 15.98 kB / 0.6565 GB, free: 14.43 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00282/0.6828, allocations: 1.174 MB / 0.6577 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008705/0.6837, allocations: 255.6 kB / 0.6579 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01482/0.6985, allocations: 13.2 MB / 0.6708 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001575/0.7001, allocations: 87.98 kB / 0.6709 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001275/0.7002, allocations: 67.98 kB / 0.6709 GB, free: 15.27 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,92.0%) 17,(5,92.0%) 17,(5,88.0%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002404/0.7027, allocations: 1.11 MB / 0.672 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003534/0.703, allocations: 170 kB / 0.6722 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005106/0.7081, allocations: 3.154 MB / 0.6753 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/0.7082, allocations: 20 kB / 0.6753 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.376e-05/0.7082, allocations: 12 kB / 0.6753 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/0.7082, allocations: 10.81 kB / 0.6753 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009674/0.7179, allocations: 6.232 MB / 0.6814 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.817e-06/0.7179, allocations: 4 kB / 0.6814 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005298/0.7184, allocations: 144.3 kB / 0.6815 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00258/0.721, allocations: 1.078 MB / 0.6826 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.141e-05/0.7211, allocations: 32 kB / 0.6826 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01428/0.7354, allocations: 12.91 MB / 0.6952 GB, free: 5.859 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-06/0.7355, allocations: 7.938 kB / 0.6952 GB, free: 5.852 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004877/0.7403, allocations: 3.386 MB / 0.6985 GB, free: 2.242 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009565/0.7413, allocations: 431 kB / 0.6989 GB, free: 1.801 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001894/0.7415, allocations: 32 kB / 0.699 GB, free: 1.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007375/0.7423, allocations: 83.84 kB / 0.6991 GB, free: 1.688 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000286/0.7425, allocations: 114.9 kB / 0.6992 GB, free: 1.578 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-05/0.7426, allocations: 51.95 kB / 0.6992 GB, free: 1.527 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009632/0.7436, allocations: 0.7514 MB / 0.6999 GB, free: 0.7734 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7436, allocations: 0 / 0.6999 GB, free: 0.7734 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00197/0.7456, allocations: 0.6562 MB / 0.7006 GB, free: 120 kB / 0.5137 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 (70): * Single equations (assignments): 67 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,88.0%) 25,(5,92.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005128/0.7507, allocations: 5.185 MB / 0.7057 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004483/0.7552, allocations: 3.119 MB / 0.7087 GB, free: 7.613 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/0.7552, allocations: 6.188 kB / 0.7087 GB, free: 7.609 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002816/0.7581, allocations: 1.956 MB / 0.7106 GB, free: 5.617 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001966/0.76, allocations: 444.5 kB / 0.711 GB, free: 5.188 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02546/0.7855, allocations: 23.19 MB / 0.7337 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002084/0.7876, allocations: 2.398 MB / 0.736 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001029/0.7887, allocations: 350.1 kB / 0.7364 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009762/0.7897, allocations: 1.007 MB / 0.7373 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of SimCode: time 7.52e-07/0.7897, allocations: 0 / 0.7373 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.622/2.412, allocations: 49.31 MB / 0.7855 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000251/2.412, allocations: 219.4 kB / 0.7857 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.685/5.097, allocations: 0 / 0.7857 GB, free: 8.777 MB / 0.6075 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) Environment - environmentSimulation: