Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.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.Loads.Examples.Impedances,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",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.0009619/0.0009618, allocations: 101.7 kB / 16.27 MB, free: 5.855 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.0009651/0.0009651, allocations: 187.4 kB / 17.19 MB, free: 5.508 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.303/1.303, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.749/0.749, allocations: 122.9 MB / 413.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 63.91 kB / 0.4912 GB, free: 7.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.3333, allocations: 77.93 MB / 0.5673 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01477/0.3481, allocations: 15.98 MB / 0.5829 GB, free: 21.95 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006533/0.3547, allocations: 4.83 MB / 0.5876 GB, free: 18.3 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001046/0.3558, allocations: 69.31 kB / 0.5877 GB, free: 18.28 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002117/0.3579, allocations: 1.044 MB / 0.5887 GB, free: 17.47 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001465/0.3594, allocations: 0.7415 MB / 0.5894 GB, free: 16.86 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001811/0.3612, allocations: 0.9172 MB / 0.5903 GB, free: 16.13 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002725/0.364, allocations: 3.618 MB / 0.5939 GB, free: 14.12 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004256/0.3682, allocations: 4.804 MB / 0.5986 GB, free: 10.78 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001784/0.37, allocations: 1.566 MB / 0.6001 GB, free: 9.207 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001495/0.3715, allocations: 1.772 MB / 0.6018 GB, free: 7.43 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003618/0.3719, allocations: 340 kB / 0.6021 GB, free: 7.098 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001266/0.3732, allocations: 0.7997 MB / 0.6029 GB, free: 6.297 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007728/0.374, allocations: 1.329 MB / 0.6042 GB, free: 4.965 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009551/0.3749, allocations: 1.451 MB / 0.6056 GB, free: 3.508 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003105/0.378, allocations: 5.095 MB / 0.6106 GB, free: 14.39 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.3781, allocations: 0 / 0.6106 GB, free: 14.39 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3781, allocations: 0 / 0.6106 GB, free: 14.39 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.082e-05/0.3781, allocations: 0 / 0.6106 GB, free: 14.39 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.004337/0.3825, allocations: 2.658 MB / 0.6132 GB, free: 11.68 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.3825, allocations: 8.625 kB / 0.6132 GB, free: 11.67 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004256/0.383, allocations: 370.5 kB / 0.6136 GB, free: 11.3 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003594/0.3866, allocations: 0.8407 MB / 0.6144 GB, free: 10.45 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002228/0.3888, allocations: 1.49 MB / 0.6158 GB, free: 8.918 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001155/0.3889, allocations: 177.1 kB / 0.616 GB, free: 8.742 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003356/0.3893, allocations: 244.3 kB / 0.6162 GB, free: 8.504 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005905/0.3952, allocations: 4.165 MB / 0.6203 GB, free: 4.199 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.708e-05/0.3953, allocations: 7.938 kB / 0.6203 GB, free: 4.191 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002337/0.3955, allocations: 99.92 kB / 0.6204 GB, free: 4.094 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001821/0.3957, allocations: 172.5 kB / 0.6206 GB, free: 3.922 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005245/0.4009, allocations: 3.628 MB / 0.6241 GB, free: 284 kB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01724/0.4182, allocations: 16.54 MB / 0.6403 GB, free: 14.3 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003212/0.4214, allocations: 2.299 MB / 0.6425 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000823/0.4223, allocations: 0.5818 MB / 0.6431 GB, free: 11.21 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001364/0.4224, allocations: 97.66 kB / 0.6432 GB, free: 11.09 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.4225, allocations: 39.12 kB / 0.6432 GB, free: 11.05 MB / 494.1 MB Notification: Performance of pre-optimization done (n=72): time 3.136e-06/0.4225, allocations: 0 / 0.6432 GB, free: 11.05 MB / 494.1 MB Notification: Performance of matching and sorting (n=76): time 0.005391/0.4279, allocations: 3.436 MB / 0.6466 GB, free: 7.504 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.63e-05/0.4279, allocations: 115.5 kB / 0.6467 GB, free: 7.367 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001263/0.4292, allocations: 1.018 MB / 0.6477 GB, free: 6.324 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.429e-05/0.4293, allocations: 33.7 kB / 0.6477 GB, free: 6.285 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006605/0.4299, allocations: 1.107 MB / 0.6488 GB, free: 5.16 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002027/0.4302, allocations: 268.2 kB / 0.649 GB, free: 4.895 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000369/0.4305, allocations: 283.2 kB / 0.6493 GB, free: 4.613 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001881/0.4307, allocations: 422.5 kB / 0.6497 GB, free: 4.191 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008748/0.4316, allocations: 0.6207 MB / 0.6503 GB, free: 3.57 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001229/0.4328, allocations: 1.189 MB / 0.6515 GB, free: 2.113 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002152/0.435, allocations: 1.856 MB / 0.6533 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.544e-05/0.435, allocations: 4 kB / 0.6533 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002962/0.438, allocations: 2.015 MB / 0.6553 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.155e-05/0.438, allocations: 16.12 kB / 0.6553 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.861e-05/0.4381, allocations: 20 kB / 0.6553 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003861/0.4385, allocations: 163.3 kB / 0.6555 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001052/0.4395, allocations: 343.4 kB / 0.6558 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.758e-05/0.4396, allocations: 43.86 kB / 0.6558 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008892/0.4405, allocations: 127.7 kB / 0.656 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.555e-05/0.4406, allocations: 67.98 kB / 0.656 GB, free: 13.18 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001281/0.4419, allocations: 0.9795 MB / 0.657 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002211/0.4421, allocations: 114.7 kB / 0.6571 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001915/0.444, allocations: 1.23 MB / 0.6583 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.335e-06/0.444, allocations: 8 kB / 0.6583 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.444, allocations: 0 / 0.6583 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.4441, allocations: 7.984 kB / 0.6583 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005249/0.4493, allocations: 3.803 MB / 0.662 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.4493, allocations: 4 kB / 0.662 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005772/0.4499, allocations: 159.8 kB / 0.6622 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003292/0.4503, allocations: 139.6 kB / 0.6623 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.384e-05/0.4503, allocations: 16 kB / 0.6623 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.396e-06/0.4503, allocations: 15.81 kB / 0.6623 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.4503, allocations: 11.98 kB / 0.6623 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001801/0.4521, allocations: 1.468 MB / 0.6638 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003863/0.4525, allocations: 267.8 kB / 0.664 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001502/0.4527, allocations: 23.98 kB / 0.6641 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005625/0.4533, allocations: 59.91 kB / 0.6641 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001311/0.4534, allocations: 64.42 kB / 0.6642 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.014e-05/0.4535, allocations: 20 kB / 0.6642 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008403/0.4543, allocations: 0.6953 MB / 0.6649 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4543, allocations: 0 / 0.6649 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001235/0.4555, allocations: 392 kB / 0.6653 GB, free: 3.445 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002132/0.4577, allocations: 2.036 MB / 0.6672 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002717/0.4604, allocations: 2.019 MB / 0.6692 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.4604, allocations: 0 / 0.6692 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009343/0.4614, allocations: 0.8592 MB / 0.6701 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00135/0.4627, allocations: 260 kB / 0.6703 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01826/0.481, allocations: 13.34 MB / 0.6833 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002044/0.4831, allocations: 1.916 MB / 0.6852 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001228/0.4843, allocations: 453.5 kB / 0.6856 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001016/0.4854, allocations: 0.7179 MB / 0.6863 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of SimCode: time 6.81e-07/0.4854, allocations: 0 / 0.6863 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05697/0.5424, allocations: 27.27 MB / 0.713 GB, free: 1.82 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.485/10.03, allocations: 5.094 kB / 0.713 GB, free: 1.816 MB / 0.545 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1)