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.001068/0.001068, allocations: 98.97 kB / 16.02 MB, free: 80 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.001253/0.001253, allocations: 179.3 kB / 16.92 MB, free: 6.922 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.354/1.354, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6477/0.6477, allocations: 115.5 MB / 407.6 MB, free: 2.699 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002886/0.0002886, allocations: 12.53 kB / 496 MB, free: 6.238 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1308, allocations: 77.52 MB / 0.5601 GB, free: 8.922 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.3002/0.4311, allocations: 36.71 MB / 0.5959 GB, free: 14.37 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01614/0.4473, allocations: 10.86 MB / 0.6065 GB, free: 9.488 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004079/0.4514, allocations: 133.9 kB / 0.6066 GB, free: 9.441 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00246/0.4539, allocations: 0.7785 MB / 0.6074 GB, free: 8.973 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006379/0.4602, allocations: 2.086 MB / 0.6094 GB, free: 7.719 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004965/0.4652, allocations: 1.787 MB / 0.6112 GB, free: 6.637 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01304/0.4783, allocations: 13.19 MB / 0.6241 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02305/0.5014, allocations: 14.46 MB / 0.6382 GB, free: 6.348 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0063/0.5077, allocations: 2.84 MB / 0.641 GB, free: 3.496 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006469/0.5142, allocations: 3.862 MB / 0.6447 GB, free: 15.62 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001496/0.5157, allocations: 352 kB / 0.6451 GB, free: 15.28 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004385/0.5201, allocations: 1.33 MB / 0.6464 GB, free: 13.95 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003697/0.5239, allocations: 2.525 MB / 0.6488 GB, free: 11.41 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005617/0.5295, allocations: 2.96 MB / 0.6517 GB, free: 8.434 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0117/0.5412, allocations: 11.68 MB / 0.6631 GB, free: 12.72 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.5413, allocations: 3.938 kB / 0.6631 GB, free: 12.72 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.5413, allocations: 0 / 0.6631 GB, free: 12.72 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.00029/0.5416, allocations: 0 / 0.6631 GB, free: 12.72 MB / 494.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.01082/0.5524, allocations: 5.086 MB / 0.6681 GB, free: 7.562 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.334e-05/0.5525, allocations: 12.03 kB / 0.6681 GB, free: 7.551 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002367/0.5548, allocations: 0.8294 MB / 0.6689 GB, free: 6.711 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005438/0.5603, allocations: 1.063 MB / 0.67 GB, free: 5.641 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005886/0.5662, allocations: 3.427 MB / 0.6733 GB, free: 2.16 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002996/0.5665, allocations: 427.7 kB / 0.6737 GB, free: 1.742 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001237/0.5678, allocations: 0.5471 MB / 0.6742 GB, free: 1.195 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01596/0.5837, allocations: 9.373 MB / 0.6834 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001199/0.5839, allocations: 19.88 kB / 0.6834 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005814/0.5845, allocations: 251.9 kB / 0.6837 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005641/0.585, allocations: 418.9 kB / 0.6841 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01269/0.5977, allocations: 7.123 MB / 0.691 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04258/0.6404, allocations: 41.37 MB / 0.7314 GB, free: 2.562 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004299/0.6447, allocations: 3.096 MB / 0.7344 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002761/0.6475, allocations: 2.125 MB / 0.7365 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.76e-05/0.6476, allocations: 22 kB / 0.7365 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.049e-05/0.6476, allocations: 64.55 kB / 0.7366 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=209): time 4.499e-06/0.6477, allocations: 0 / 0.7366 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of matching and sorting (n=212): time 0.02304/0.6707, allocations: 10.62 MB / 0.747 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.627e-05/0.6708, allocations: 73.41 kB / 0.747 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002531/0.6733, allocations: 2.002 MB / 0.749 GB, free: 428 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.00014/0.6735, allocations: 65.7 kB / 0.7491 GB, free: 356 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00134/0.6748, allocations: 2.4 MB / 0.7514 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005222/0.6754, allocations: 0.7434 MB / 0.7521 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002629/0.6756, allocations: 207.1 kB / 0.7523 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.825e-05/0.6757, allocations: 301.1 kB / 0.7526 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001786/0.6775, allocations: 1.379 MB / 0.754 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002247/0.6798, allocations: 2.104 MB / 0.756 GB, free: 8.852 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004332/0.6841, allocations: 3.766 MB / 0.7597 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.127e-06/0.6841, allocations: 4 kB / 0.7597 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.007526/0.6917, allocations: 5.065 MB / 0.7646 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.898e-05/0.6917, allocations: 22.28 kB / 0.7647 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.876e-05/0.6917, allocations: 20 kB / 0.7647 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003333/0.6951, allocations: 1.568 MB / 0.7662 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001561/0.6966, allocations: 459.2 kB / 0.7667 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02101/0.7177, allocations: 17.11 MB / 0.7834 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002455/0.7202, allocations: 147.8 kB / 0.7835 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003772/0.7206, allocations: 108 kB / 0.7836 GB, free: 11.71 MB / 0.6075 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.003728/0.7243, allocations: 1.941 MB / 0.7855 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007901/0.7251, allocations: 288.6 kB / 0.7858 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007811/0.7329, allocations: 4.459 MB / 0.7901 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.937e-05/0.733, allocations: 20 kB / 0.7902 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.732e-05/0.733, allocations: 16 kB / 0.7902 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.08e-05/0.7331, allocations: 11.95 kB / 0.7902 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01532/0.7484, allocations: 9.672 MB / 0.7996 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.04e-05/0.7484, allocations: 7.938 kB / 0.7996 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009672/0.7494, allocations: 231.6 kB / 0.7999 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003184/0.7526, allocations: 1.428 MB / 0.8013 GB, free: 9.441 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001445/0.7528, allocations: 40 kB / 0.8013 GB, free: 9.402 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02073/0.7735, allocations: 17.1 MB / 0.818 GB, free: 7.766 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/0.7735, allocations: 11.94 kB / 0.818 GB, free: 7.754 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007803/0.7813, allocations: 4.541 MB / 0.8224 GB, free: 3.125 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001532/0.7829, allocations: 0.6342 MB / 0.8231 GB, free: 2.469 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006716/0.7836, allocations: 36 kB / 0.8231 GB, free: 2.434 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00159/0.7852, allocations: 115.9 kB / 0.8232 GB, free: 2.32 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005357/0.7858, allocations: 185.6 kB / 0.8234 GB, free: 2.137 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000194/0.786, allocations: 60.44 kB / 0.8234 GB, free: 2.078 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002435/0.7884, allocations: 1.315 MB / 0.8247 GB, free: 0.7539 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7884, allocations: 0 / 0.8247 GB, free: 0.7539 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.2605/1.049, allocations: 1.139 MB / 0.8258 GB, free: 208.6 MB / 0.6387 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.007884/1.057, allocations: 5.158 MB / 0.8309 GB, free: 207.7 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.006869/1.064, allocations: 4.707 MB / 0.8355 GB, free: 207 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.106e-05/1.064, allocations: 2.594 kB / 0.8355 GB, free: 207 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.004292/1.068, allocations: 2.921 MB / 0.8383 GB, free: 205.8 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005037/1.073, allocations: 0.842 MB / 0.8391 GB, free: 205.6 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04711/1.12, allocations: 35.93 MB / 0.8742 GB, free: 184.4 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003292/1.123, allocations: 3.7 MB / 0.8778 GB, free: 183 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001983/1.125, allocations: 0.5543 MB / 0.8784 GB, free: 182.9 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001531/1.127, allocations: 1.939 MB / 0.8803 GB, free: 181.2 MB / 0.6387 GB Notification: Performance of SimCode: time 8.72e-07/1.127, allocations: 0 / 0.8803 GB, free: 181.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09691/1.224, allocations: 82.36 MB / 0.9607 GB, free: 101 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001719/1.224, allocations: 242.5 kB / 0.9609 GB, free: 100.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.373/4.597, allocations: 3.625 kB / 0.9609 GB, free: 100.8 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/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)