Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",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.001012/0.001012, allocations: 101.4 kB / 16.27 MB, free: 6.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001048/0.001047, allocations: 186.7 kB / 17.2 MB, free: 5.938 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.227/1.227, allocations: 222.9 MB / 240.9 MB, free: 15.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6876/0.6876, allocations: 122.8 MB / 413.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 63.91 kB / 0.4912 GB, free: 7.332 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2966/0.2978, allocations: 77.91 MB / 0.5673 GB, free: 32.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01465/0.3125, allocations: 14.76 MB / 0.5817 GB, free: 22.7 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01257/0.3251, allocations: 10.35 MB / 0.5918 GB, free: 14.9 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001285/0.3264, allocations: 60 kB / 0.5919 GB, free: 14.88 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003437/0.3299, allocations: 1.687 MB / 0.5935 GB, free: 13.59 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004732/0.3347, allocations: 1.816 MB / 0.5953 GB, free: 12.2 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001593/0.3363, allocations: 0.762 MB / 0.596 GB, free: 11.59 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00292/0.3392, allocations: 2.737 MB / 0.5987 GB, free: 10.07 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001388/0.3406, allocations: 1.417 MB / 0.6001 GB, free: 9.156 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00144/0.3421, allocations: 1.5 MB / 0.6016 GB, free: 7.652 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001017/0.3431, allocations: 1.164 MB / 0.6027 GB, free: 6.484 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001769/0.3433, allocations: 160 kB / 0.6028 GB, free: 6.328 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001141/0.3444, allocations: 0.7877 MB / 0.6036 GB, free: 5.539 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003344/0.3448, allocations: 0.6076 MB / 0.6042 GB, free: 4.93 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005802/0.3454, allocations: 0.96 MB / 0.6051 GB, free: 3.965 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001646/0.347, allocations: 2.73 MB / 0.6078 GB, free: 1.227 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.347, allocations: 0 / 0.6078 GB, free: 1.227 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.347, allocations: 3.938 kB / 0.6078 GB, free: 1.223 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.848e-05/0.3471, allocations: 4 kB / 0.6078 GB, free: 1.219 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.002893/0.35, allocations: 2.17 MB / 0.6099 GB, free: 14.99 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.35, allocations: 8.625 kB / 0.6099 GB, free: 14.98 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002175/0.3502, allocations: 194.4 kB / 0.6101 GB, free: 14.78 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01113/0.3614, allocations: 2.112 MB / 0.6122 GB, free: 12.66 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00217/0.3635, allocations: 1.206 MB / 0.6134 GB, free: 11.4 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.273e-05/0.3636, allocations: 90.67 kB / 0.6135 GB, free: 11.31 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002882/0.3639, allocations: 123.8 kB / 0.6136 GB, free: 11.19 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005235/0.3692, allocations: 2.674 MB / 0.6162 GB, free: 8.367 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.848e-05/0.3692, allocations: 15.92 kB / 0.6162 GB, free: 8.352 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001642/0.3694, allocations: 55.97 kB / 0.6163 GB, free: 8.297 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006319/0.37, allocations: 190.1 kB / 0.6164 GB, free: 8.109 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007205/0.3772, allocations: 2.791 MB / 0.6192 GB, free: 5.309 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01363/0.3909, allocations: 10.51 MB / 0.6294 GB, free: 10.21 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006493/0.3974, allocations: 2.336 MB / 0.6317 GB, free: 7.844 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002998/0.4004, allocations: 1.286 MB / 0.633 GB, free: 6.559 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.368e-05/0.4005, allocations: 12.98 kB / 0.633 GB, free: 6.547 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.269e-05/0.4006, allocations: 43.56 kB / 0.633 GB, free: 6.492 MB / 478.1 MB Notification: Performance of pre-optimization done (n=89): time 3.647e-06/0.4006, allocations: 7.938 kB / 0.633 GB, free: 6.484 MB / 478.1 MB Notification: Performance of matching and sorting (n=153): time 0.05941/0.46, allocations: 16.48 MB / 0.6491 GB, free: 5.848 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.028e-05/0.4601, allocations: 64.72 kB / 0.6492 GB, free: 5.77 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001398/0.4615, allocations: 1.172 MB / 0.6503 GB, free: 4.586 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001394/0.4616, allocations: 49.7 kB / 0.6504 GB, free: 4.531 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004662/0.4621, allocations: 0.7436 MB / 0.6511 GB, free: 3.781 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004344/0.4625, allocations: 0.5198 MB / 0.6516 GB, free: 3.254 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005238/0.4631, allocations: 287.4 kB / 0.6519 GB, free: 2.969 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.233e-05/0.4632, allocations: 309.1 kB / 0.6522 GB, free: 2.664 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003328/0.4665, allocations: 1.503 MB / 0.6536 GB, free: 1.16 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003472/0.47, allocations: 1.78 MB / 0.6554 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006931/0.4769, allocations: 3.365 MB / 0.6587 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/0.4769, allocations: 4 kB / 0.6587 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.0128/0.4897, allocations: 5.277 MB / 0.6638 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.4898, allocations: 8 kB / 0.6638 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/0.4898, allocations: 8 kB / 0.6638 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006479/0.4963, allocations: 1.896 MB / 0.6657 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001863/0.4982, allocations: 419.3 kB / 0.6661 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02708/0.5253, allocations: 24.15 MB / 0.6897 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002521/0.5278, allocations: 307.5 kB / 0.69 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001963/0.528, allocations: 67.91 kB / 0.69 GB, free: 10.53 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008255/0.5289, allocations: 462.2 kB / 0.6905 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000371/0.5292, allocations: 177.9 kB / 0.6907 GB, free: 9.891 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01265/0.5419, allocations: 5.32 MB / 0.6958 GB, free: 4.523 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.5419, allocations: 12 kB / 0.6959 GB, free: 4.512 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.974e-05/0.542, allocations: 20 kB / 0.6959 GB, free: 4.492 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/0.542, allocations: 8.062 kB / 0.6959 GB, free: 4.484 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01533/0.5573, allocations: 7.422 MB / 0.7031 GB, free: 12.94 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.63e-05/0.5574, allocations: 8.031 kB / 0.7031 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001692/0.5591, allocations: 351.4 kB / 0.7035 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005744/0.5648, allocations: 1.724 MB / 0.7052 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001709/0.565, allocations: 43.91 kB / 0.7052 GB, free: 10.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02552/0.5905, allocations: 23.31 MB / 0.728 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/0.5906, allocations: 7.969 kB / 0.728 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01179/0.6024, allocations: 4.893 MB / 0.7328 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008349/0.6032, allocations: 490.8 kB / 0.7332 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002976/0.6035, allocations: 32 kB / 0.7333 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002088/0.6056, allocations: 319.5 kB / 0.7336 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000396/0.606, allocations: 149 kB / 0.7337 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000123/0.6061, allocations: 51.97 kB / 0.7338 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009795/0.6071, allocations: 0.7899 MB / 0.7345 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6071, allocations: 0 / 0.7345 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001778/0.6089, allocations: 0.6602 MB / 0.7352 GB, free: 10.89 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01181/0.6207, allocations: 5.47 MB / 0.7405 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.2166/0.8374, allocations: 5.426 MB / 0.7458 GB, free: 157.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.193e-05/0.8374, allocations: 1.156 kB / 0.7458 GB, free: 157.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.007227/0.8446, allocations: 3.355 MB / 0.7491 GB, free: 156.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002418/0.8471, allocations: 0.5521 MB / 0.7496 GB, free: 156.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04342/0.8905, allocations: 22.99 MB / 0.7721 GB, free: 148 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001475/0.892, allocations: 1.563 MB / 0.7736 GB, free: 147.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001706/0.8938, allocations: 387.6 kB / 0.774 GB, free: 147.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006891/0.8945, allocations: 0.664 MB / 0.7746 GB, free: 146.6 MB / 0.5762 GB Notification: Performance of SimCode: time 9.12e-07/0.8945, allocations: 0 / 0.7746 GB, free: 146.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1247/1.019, allocations: 58.31 MB / 0.8316 GB, free: 93.34 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.33/13.35, allocations: 7.812 kB / 0.8316 GB, free: 93.33 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)