Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.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.Sources.Examples.FixedVoltageSource,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource",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.001266/0.001266, allocations: 108.4 kB / 15.98 MB, free: 6.352 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.001351/0.001351, allocations: 193.3 kB / 16.91 MB, free: 6.191 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.239/1.239, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6536/0.6536, allocations: 115.3 MB / 406.1 MB, free: 6.336 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001276, allocations: 63.91 kB / 493.2 MB, free: 0.5742 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.3024, allocations: 76.17 MB / 0.556 GB, free: 36.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.01534/0.3178, allocations: 16.59 MB / 0.5722 GB, free: 25.38 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008678/0.3265, allocations: 6.361 MB / 0.5784 GB, free: 21.11 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001553/0.3281, allocations: 40.88 kB / 0.5785 GB, free: 21.1 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003364/0.3315, allocations: 1.21 MB / 0.5797 GB, free: 20.39 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00302/0.3345, allocations: 0.8007 MB / 0.5804 GB, free: 19.95 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004149/0.3387, allocations: 1.439 MB / 0.5818 GB, free: 19.12 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005046/0.3437, allocations: 3.867 MB / 0.5856 GB, free: 17.45 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008603/0.3524, allocations: 6.052 MB / 0.5915 GB, free: 14.93 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002494/0.3549, allocations: 1.654 MB / 0.5932 GB, free: 14.07 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002542/0.3575, allocations: 2.101 MB / 0.5952 GB, free: 12.42 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006523/0.3581, allocations: 380 kB / 0.5956 GB, free: 12.05 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001615/0.3597, allocations: 0.8427 MB / 0.5964 GB, free: 11.2 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001274/0.361, allocations: 1.501 MB / 0.5979 GB, free: 9.699 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001633/0.3627, allocations: 1.533 MB / 0.5994 GB, free: 8.16 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003137/0.3658, allocations: 5.574 MB / 0.6048 GB, free: 2.57 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.3658, allocations: 3.938 kB / 0.6048 GB, free: 2.566 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3658, allocations: 4 kB / 0.6048 GB, free: 2.562 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.031e-05/0.3659, allocations: 0 / 0.6048 GB, free: 2.562 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: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.003615/0.3695, allocations: 2.73 MB / 0.6075 GB, free: 15.77 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.3696, allocations: 8.031 kB / 0.6075 GB, free: 15.76 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004405/0.37, allocations: 399.7 kB / 0.6079 GB, free: 15.36 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004533/0.3746, allocations: 0.907 MB / 0.6087 GB, free: 14.45 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001987/0.3766, allocations: 1.411 MB / 0.6101 GB, free: 13 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000117/0.3767, allocations: 193.5 kB / 0.6103 GB, free: 12.8 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003525/0.3771, allocations: 256.3 kB / 0.6105 GB, free: 12.55 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006188/0.3832, allocations: 4.65 MB / 0.6151 GB, free: 7.703 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.236e-05/0.3833, allocations: 7.938 kB / 0.6151 GB, free: 7.695 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002677/0.3836, allocations: 112 kB / 0.6152 GB, free: 7.586 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001682/0.3838, allocations: 176.2 kB / 0.6154 GB, free: 7.414 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005707/0.3895, allocations: 3.933 MB / 0.6192 GB, free: 3.477 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02163/0.4111, allocations: 21.55 MB / 0.6403 GB, free: 12.03 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002401/0.4135, allocations: 2.254 MB / 0.6425 GB, free: 9.48 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009332/0.4145, allocations: 0.7202 MB / 0.6432 GB, free: 8.738 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.05e-05/0.4146, allocations: 11.94 kB / 0.6432 GB, free: 8.727 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.4146, allocations: 47.42 kB / 0.6432 GB, free: 8.672 MB / 494.1 MB Notification: Performance of pre-optimization done (n=62): time 2.354e-06/0.4146, allocations: 4 kB / 0.6432 GB, free: 8.668 MB / 494.1 MB Notification: Performance of matching and sorting (n=68): time 0.005776/0.4204, allocations: 4.199 MB / 0.6473 GB, free: 4.418 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/0.4205, allocations: 247.3 kB / 0.6476 GB, free: 4.121 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001577/0.4221, allocations: 1.164 MB / 0.6487 GB, free: 2.934 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.623e-05/0.4222, allocations: 41.7 kB / 0.6487 GB, free: 2.887 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006834/0.4229, allocations: 1.183 MB / 0.6499 GB, free: 1.684 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002279/0.4231, allocations: 256.6 kB / 0.6501 GB, free: 1.43 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004798/0.4236, allocations: 339 kB / 0.6505 GB, free: 1.094 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.4237, allocations: 349.9 kB / 0.6508 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001168/0.4249, allocations: 0.7504 MB / 0.6515 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001599/0.4265, allocations: 1.446 MB / 0.6529 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002536/0.4291, allocations: 2.197 MB / 0.6551 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-05/0.4291, allocations: 4 kB / 0.6551 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003533/0.4326, allocations: 2.258 MB / 0.6573 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.793e-05/0.4327, allocations: 23.97 kB / 0.6573 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.076e-05/0.4327, allocations: 24 kB / 0.6573 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.703e-05/0.4328, allocations: 36 kB / 0.6574 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001528/0.4343, allocations: 443.2 kB / 0.6578 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.085e-05/0.4344, allocations: 55.73 kB / 0.6578 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001696/0.4361, allocations: 235.3 kB / 0.6581 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001477/0.4362, allocations: 83.98 kB / 0.6581 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00251/0.4387, allocations: 1.589 MB / 0.6597 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001617/0.4404, allocations: 1.365 MB / 0.661 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002389/0.4428, allocations: 2.019 MB / 0.663 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.448e-05/0.4428, allocations: 8 kB / 0.663 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of matching and sorting (n=192) (initialization_lambda0): time 0.003452/0.4462, allocations: 2.07 MB / 0.665 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.4463, allocations: 16 kB / 0.665 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.11e-05/0.4463, allocations: 27.94 kB / 0.6651 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.665e-05/0.4464, allocations: 36 kB / 0.6651 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001356/0.4477, allocations: 403.3 kB / 0.6655 GB, free: 308 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.832e-05/0.4478, allocations: 64.08 kB / 0.6656 GB, free: 244 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001635/0.4494, allocations: 187.5 kB / 0.6657 GB, free: 56 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000146/0.4496, allocations: 84.66 kB / 0.6658 GB, free: 15.97 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * 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 (192): * Single equations (assignments): 192 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003695/0.45, allocations: 284.2 kB / 0.6661 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003311/0.4503, allocations: 114.6 kB / 0.6662 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001526/0.4518, allocations: 1.092 MB / 0.6673 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/0.4519, allocations: 8 kB / 0.6673 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.4519, allocations: 4 kB / 0.6673 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.4519, allocations: 7.984 kB / 0.6673 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01188/0.4638, allocations: 10.2 MB / 0.6772 GB, free: 3.996 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.914e-05/0.4638, allocations: 20.09 kB / 0.6773 GB, free: 3.977 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006082/0.4644, allocations: 191.6 kB / 0.6774 GB, free: 3.789 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-05/0.4645, allocations: 23.98 kB / 0.6775 GB, free: 3.766 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.164e-05/0.4645, allocations: 32 kB / 0.6775 GB, free: 3.734 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.616e-05/0.4646, allocations: 32.42 kB / 0.6775 GB, free: 3.703 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.235e-05/0.4646, allocations: 19.94 kB / 0.6775 GB, free: 3.684 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001951/0.4665, allocations: 2.174 MB / 0.6797 GB, free: 1.297 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00052/0.4671, allocations: 335.5 kB / 0.68 GB, free: 0.9492 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002076/0.4673, allocations: 35.98 kB / 0.68 GB, free: 0.9141 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00113/0.4684, allocations: 107.9 kB / 0.6801 GB, free: 0.8086 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001333/0.4686, allocations: 103.5 kB / 0.6802 GB, free: 0.707 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.968e-05/0.4686, allocations: 43.94 kB / 0.6803 GB, free: 0.6641 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001187/0.4698, allocations: 0.8088 MB / 0.6811 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4698, allocations: 4 kB / 0.6811 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00288/0.4727, allocations: 0.7422 MB / 0.6818 GB, free: 15.1 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 70 * 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 (74): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002271/0.475, allocations: 2.738 MB / 0.6845 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00389/0.4789, allocations: 2.609 MB / 0.687 GB, free: 9.535 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/0.4789, allocations: 6 kB / 0.687 GB, free: 9.531 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0006705/0.4796, allocations: 0.5732 MB / 0.6876 GB, free: 8.961 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001854/0.4815, allocations: 256.4 kB / 0.6878 GB, free: 8.727 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02323/0.5047, allocations: 16.7 MB / 0.7041 GB, free: 6.711 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002645/0.5074, allocations: 2.011 MB / 0.7061 GB, free: 4.668 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002355/0.5098, allocations: 0.8794 MB / 0.7069 GB, free: 3.785 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001161/0.511, allocations: 0.7336 MB / 0.7077 GB, free: 3.051 MB / 0.545 GB Notification: Performance of SimCode: time 1.884e-06/0.511, allocations: 7.938 kB / 0.7077 GB, free: 3.043 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1338/0.6448, allocations: 29.19 MB / 0.7362 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001906/0.645, allocations: 230.2 kB / 0.7364 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.535/3.18, allocations: 3.375 kB / 0.7364 GB, free: 5.922 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)