Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_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.ACSimpleGrid_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_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.001062/0.001062, allocations: 92.95 kB / 16.02 MB, free: 84 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.001159/0.001159, allocations: 174.9 kB / 16.92 MB, free: 6.68 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.34/1.34, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6904/0.6904, allocations: 115.5 MB / 407.6 MB, free: 2.746 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003074/0.0003073, allocations: 12 kB / 496 MB, free: 6.262 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1492, allocations: 77.53 MB / 0.5601 GB, free: 8.941 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.01328/0.1625, allocations: 11.38 MB / 0.5712 GB, free: 13.51 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008541/0.1711, allocations: 5.482 MB / 0.5765 GB, free: 8.016 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009786/0.1721, allocations: 31.88 kB / 0.5766 GB, free: 7.984 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001181/0.1733, allocations: 314 kB / 0.5769 GB, free: 7.676 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00175/0.1751, allocations: 0.6105 MB / 0.5775 GB, free: 7.062 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001713/0.1768, allocations: 0.6878 MB / 0.5781 GB, free: 6.375 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003631/0.1804, allocations: 3.761 MB / 0.5818 GB, free: 2.605 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.286/0.4665, allocations: 4.345 MB / 0.586 GB, free: 12.54 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002078/0.4686, allocations: 0.8185 MB / 0.5868 GB, free: 12.54 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002586/0.4712, allocations: 1.118 MB / 0.5879 GB, free: 12.4 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007419/0.472, allocations: 99.84 kB / 0.588 GB, free: 12.4 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001741/0.4737, allocations: 473.8 kB / 0.5885 GB, free: 12.4 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001498/0.4753, allocations: 0.7386 MB / 0.5892 GB, free: 12.34 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001387/0.4767, allocations: 0.8602 MB / 0.59 GB, free: 12.07 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005207/0.4819, allocations: 3.643 MB / 0.5936 GB, free: 11.8 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.4819, allocations: 4 kB / 0.5936 GB, free: 11.8 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4819, allocations: 0.5625 kB / 0.5936 GB, free: 11.8 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001008/0.482, allocations: 0 / 0.5936 GB, free: 11.8 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: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.005452/0.4875, allocations: 1.721 MB / 0.5953 GB, free: 10.95 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.4875, allocations: 10.22 kB / 0.5953 GB, free: 10.95 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006556/0.4882, allocations: 269.6 kB / 0.5955 GB, free: 10.9 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003321/0.4915, allocations: 0.7222 MB / 0.5963 GB, free: 10.81 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002415/0.494, allocations: 1.195 MB / 0.5974 GB, free: 10.48 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000125/0.4941, allocations: 121.4 kB / 0.5975 GB, free: 10.47 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003971/0.4945, allocations: 155.7 kB / 0.5977 GB, free: 10.47 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005719/0.5002, allocations: 2.949 MB / 0.6006 GB, free: 10.26 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.749e-05/0.5003, allocations: 2.969 kB / 0.6006 GB, free: 10.26 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002026/0.5005, allocations: 64.81 kB / 0.6006 GB, free: 10.26 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003501/0.5009, allocations: 164.7 kB / 0.6008 GB, free: 10.25 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004117/0.505, allocations: 2.504 MB / 0.6032 GB, free: 10.23 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01094/0.5159, allocations: 10.81 MB / 0.6138 GB, free: 2.715 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00113/0.5171, allocations: 0.9232 MB / 0.6147 GB, free: 2.109 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006052/0.5177, allocations: 0.5015 MB / 0.6152 GB, free: 1.848 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.859e-05/0.5178, allocations: 92.58 kB / 0.6153 GB, free: 1.75 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.5179, allocations: 37.62 kB / 0.6153 GB, free: 1.707 MB / 446.1 MB Notification: Performance of pre-optimization done (n=46): time 2.144e-06/0.5179, allocations: 0 / 0.6153 GB, free: 1.707 MB / 446.1 MB Notification: Performance of matching and sorting (n=70): time 0.02539/0.5433, allocations: 7.992 MB / 0.6231 GB, free: 13.66 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/0.5433, allocations: 66.72 kB / 0.6232 GB, free: 13.59 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001319/0.5447, allocations: 0.9259 MB / 0.6241 GB, free: 13.07 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001186/0.5448, allocations: 33.7 kB / 0.6241 GB, free: 13.03 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005033/0.5453, allocations: 0.7762 MB / 0.6249 GB, free: 12.35 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002355/0.5455, allocations: 254.7 kB / 0.6251 GB, free: 12.14 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001428/0.5457, allocations: 87.8 kB / 0.6252 GB, free: 12.08 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.5459, allocations: 393.7 kB / 0.6256 GB, free: 11.71 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001095/0.547, allocations: 0.7842 MB / 0.6263 GB, free: 11.3 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001298/0.5483, allocations: 1.133 MB / 0.6274 GB, free: 10.43 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002472/0.5508, allocations: 1.964 MB / 0.6294 GB, free: 9.152 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.5508, allocations: 3.156 kB / 0.6294 GB, free: 9.152 MB / 462.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.009706/0.5605, allocations: 3.677 MB / 0.633 GB, free: 6.07 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003007/0.5608, allocations: 413.2 kB / 0.6334 GB, free: 5.516 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.254e-05/0.5608, allocations: 11.94 kB / 0.6334 GB, free: 5.504 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008176/0.569, allocations: 2.006 MB / 0.6353 GB, free: 3.496 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009008/0.5699, allocations: 229 kB / 0.6355 GB, free: 3.285 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0154/0.5854, allocations: 9.878 MB / 0.6452 GB, free: 9.18 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00151/0.5869, allocations: 179.6 kB / 0.6454 GB, free: 9.004 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001578/0.5871, allocations: 48 kB / 0.6454 GB, free: 8.957 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.5871, allocations: 11.94 kB / 0.6454 GB, free: 8.945 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007937/0.595, allocations: 3.012 MB / 0.6484 GB, free: 6.008 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.747e-05/0.5951, allocations: 8 kB / 0.6484 GB, free: 6 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005297/0.6004, allocations: 1.292 MB / 0.6496 GB, free: 4.703 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001193/0.6016, allocations: 280.6 kB / 0.6499 GB, free: 4.445 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01042/0.612, allocations: 5.996 MB / 0.6558 GB, free: 14.33 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001422/0.6135, allocations: 159.7 kB / 0.6559 GB, free: 14.18 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001528/0.6137, allocations: 44 kB / 0.6559 GB, free: 14.13 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (97): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,12)} Notification: Performance of prepare postOptimizeDAE: time 0.001736/0.6154, allocations: 0.8973 MB / 0.6568 GB, free: 13.24 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002751/0.6157, allocations: 86.97 kB / 0.6569 GB, free: 13.15 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009287/0.625, allocations: 3.211 MB / 0.66 GB, free: 9.945 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.286e-05/0.625, allocations: 8 kB / 0.66 GB, free: 9.938 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.131e-05/0.625, allocations: 0 / 0.66 GB, free: 9.938 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.477e-05/0.6251, allocations: 7.984 kB / 0.6601 GB, free: 9.93 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01271/0.6378, allocations: 5.331 MB / 0.6653 GB, free: 4.535 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/0.6378, allocations: 0 / 0.6653 GB, free: 4.535 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004662/0.6383, allocations: 110.7 kB / 0.6654 GB, free: 4.434 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007325/0.6456, allocations: 1.815 MB / 0.6671 GB, free: 2.613 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001032/0.6458, allocations: 20 kB / 0.6672 GB, free: 2.594 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01361/0.6594, allocations: 9.308 MB / 0.6762 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.6594, allocations: 4 kB / 0.6763 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008435/0.6678, allocations: 3.094 MB / 0.6793 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007235/0.6686, allocations: 324 kB / 0.6796 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002298/0.6688, allocations: 19.98 kB / 0.6796 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009957/0.6698, allocations: 135.8 kB / 0.6797 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002795/0.6701, allocations: 71.34 kB / 0.6798 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.161e-05/0.6702, allocations: 20 kB / 0.6798 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001061/0.6713, allocations: 0.6629 MB / 0.6805 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6713, allocations: 0 / 0.6805 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002528/0.6738, allocations: 0.6953 MB / 0.6811 GB, free: 3.996 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008986/0.6828, allocations: 3.68 MB / 0.6847 GB, free: 284 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007628/0.6905, allocations: 3.802 MB / 0.6885 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.6905, allocations: 0 / 0.6885 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002018/0.6925, allocations: 1.259 MB / 0.6897 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00205/0.6946, allocations: 353.4 kB / 0.69 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03417/0.7288, allocations: 17 MB / 0.7066 GB, free: 9.371 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001959/0.7307, allocations: 1.727 MB / 0.7083 GB, free: 7.613 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00137/0.7321, allocations: 0.5108 MB / 0.7088 GB, free: 7.098 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007355/0.7329, allocations: 0.5042 MB / 0.7093 GB, free: 6.594 MB / 0.5294 GB Notification: Performance of SimCode: time 9.11e-07/0.7329, allocations: 3.938 kB / 0.7093 GB, free: 6.59 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06564/0.7985, allocations: 43.61 MB / 0.7519 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000234/0.7988, allocations: 253.2 kB / 0.7521 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.346/3.145, allocations: 4.062 kB / 0.7521 GB, free: 11.15 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1)