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.001189/0.001189, allocations: 105.9 kB / 16.27 MB, free: 6.41 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.001071/0.001072, allocations: 186.2 kB / 17.2 MB, free: 5.953 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.423/1.423, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7411/0.7411, allocations: 122.8 MB / 413.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 63.91 kB / 0.4912 GB, free: 7.332 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3524/0.3537, allocations: 77.92 MB / 0.5673 GB, free: 32.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.01705/0.3708, allocations: 16.69 MB / 0.5836 GB, free: 21.64 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009821/0.3807, allocations: 6.428 MB / 0.5899 GB, free: 16.7 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001667/0.3824, allocations: 48.53 kB / 0.5899 GB, free: 16.7 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00326/0.3857, allocations: 1.295 MB / 0.5912 GB, free: 15.69 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002074/0.3877, allocations: 0.8741 MB / 0.592 GB, free: 15 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003193/0.3909, allocations: 1.538 MB / 0.5935 GB, free: 13.8 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003678/0.3946, allocations: 3.85 MB / 0.5973 GB, free: 11.68 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003945/0.3986, allocations: 5.014 MB / 0.6022 GB, free: 6.988 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001726/0.4003, allocations: 1.632 MB / 0.6038 GB, free: 5.352 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0017/0.402, allocations: 1.99 MB / 0.6057 GB, free: 3.355 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000387/0.4024, allocations: 380 kB / 0.6061 GB, free: 2.984 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001264/0.4037, allocations: 0.8543 MB / 0.6069 GB, free: 2.129 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008801/0.4046, allocations: 1.497 MB / 0.6084 GB, free: 0.6289 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001468/0.4061, allocations: 1.537 MB / 0.6099 GB, free: 15.08 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00621/0.4123, allocations: 5.532 MB / 0.6153 GB, free: 9.535 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.877e-06/0.4123, allocations: 3.984 kB / 0.6153 GB, free: 9.531 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.574e-06/0.4124, allocations: 0 / 0.6153 GB, free: 9.531 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001165/0.4125, allocations: 0 / 0.6153 GB, free: 9.531 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: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.006093/0.4186, allocations: 2.726 MB / 0.618 GB, free: 6.746 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.605e-05/0.4187, allocations: 12.03 kB / 0.618 GB, free: 6.734 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004881/0.4192, allocations: 403.7 kB / 0.6184 GB, free: 6.332 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004997/0.4242, allocations: 0.9031 MB / 0.6192 GB, free: 5.426 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003089/0.4273, allocations: 1.415 MB / 0.6206 GB, free: 3.969 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001424/0.4274, allocations: 185.5 kB / 0.6208 GB, free: 3.785 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000437/0.4279, allocations: 252.4 kB / 0.621 GB, free: 3.539 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007797/0.4357, allocations: 4.657 MB / 0.6256 GB, free: 14.68 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.133e-05/0.4358, allocations: 11.94 kB / 0.6256 GB, free: 14.66 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002701/0.436, allocations: 108 kB / 0.6257 GB, free: 14.56 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001971/0.4363, allocations: 176.3 kB / 0.6259 GB, free: 14.39 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006285/0.4425, allocations: 3.924 MB / 0.6297 GB, free: 10.45 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02343/0.466, allocations: 21.54 MB / 0.6507 GB, free: 3.008 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002739/0.4688, allocations: 2.26 MB / 0.6529 GB, free: 468 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001073/0.4699, allocations: 0.7253 MB / 0.6537 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.976e-05/0.4699, allocations: 19.84 kB / 0.6537 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.742e-05/0.47, allocations: 50.48 kB / 0.6537 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=62): time 6.282e-06/0.47, allocations: 0 / 0.6537 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of matching and sorting (n=68): time 0.005804/0.4758, allocations: 4.192 MB / 0.6578 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000117/0.4759, allocations: 247.2 kB / 0.6581 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001689/0.4776, allocations: 1.171 MB / 0.6592 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.236e-05/0.4777, allocations: 33.7 kB / 0.6592 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008817/0.4786, allocations: 1.191 MB / 0.6604 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000228/0.4788, allocations: 248.6 kB / 0.6606 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004823/0.4793, allocations: 343 kB / 0.661 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.4795, allocations: 341.9 kB / 0.6613 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001241/0.4807, allocations: 0.7542 MB / 0.662 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00169/0.4824, allocations: 1.442 MB / 0.6634 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00263/0.4851, allocations: 2.2 MB / 0.6656 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.117e-05/0.4851, allocations: 8 kB / 0.6656 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003716/0.4888, allocations: 2.269 MB / 0.6678 GB, free: 380 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.394e-05/0.4889, allocations: 20.94 kB / 0.6678 GB, free: 360 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.726e-05/0.4889, allocations: 24 kB / 0.6678 GB, free: 336 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.409e-05/0.489, allocations: 39.94 kB / 0.6679 GB, free: 296 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001637/0.4906, allocations: 443.2 kB / 0.6683 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.402e-05/0.4907, allocations: 51.78 kB / 0.6683 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00176/0.4924, allocations: 227.4 kB / 0.6686 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001248/0.4926, allocations: 87.97 kB / 0.6687 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002606/0.4952, allocations: 1.585 MB / 0.6702 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001642/0.4968, allocations: 1.368 MB / 0.6715 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002327/0.4992, allocations: 2.011 MB / 0.6735 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.225e-05/0.4992, allocations: 8 kB / 0.6735 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of matching and sorting (n=192) (initialization_lambda0): time 0.003358/0.5025, allocations: 2.066 MB / 0.6755 GB, free: 7.75 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.5026, allocations: 16 kB / 0.6755 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.633e-05/0.5026, allocations: 31.94 kB / 0.6756 GB, free: 7.703 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.642e-05/0.5027, allocations: 32 kB / 0.6756 GB, free: 7.672 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001462/0.5041, allocations: 411.3 kB / 0.676 GB, free: 7.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.715e-05/0.5042, allocations: 47.8 kB / 0.676 GB, free: 7.223 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001522/0.5057, allocations: 195.4 kB / 0.6762 GB, free: 7.031 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/0.5058, allocations: 87.98 kB / 0.6763 GB, free: 6.945 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.0003717/0.5062, allocations: 287.6 kB / 0.6766 GB, free: 6.656 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002815/0.5065, allocations: 106.7 kB / 0.6767 GB, free: 6.551 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001531/0.508, allocations: 1.094 MB / 0.6778 GB, free: 5.449 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.759e-05/0.5081, allocations: 8 kB / 0.6778 GB, free: 5.441 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.086e-05/0.5081, allocations: 12 kB / 0.6778 GB, free: 5.43 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.5081, allocations: 3.984 kB / 0.6778 GB, free: 5.426 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01264/0.5207, allocations: 10.21 MB / 0.6877 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.717e-05/0.5208, allocations: 16 kB / 0.6878 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006195/0.5214, allocations: 187.7 kB / 0.6879 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.158e-05/0.5214, allocations: 20 kB / 0.688 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.449e-05/0.5215, allocations: 32 kB / 0.688 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.271e-05/0.5215, allocations: 31.86 kB / 0.688 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-05/0.5216, allocations: 23.94 kB / 0.688 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002216/0.5238, allocations: 2.166 MB / 0.6902 GB, free: 8.258 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005036/0.5243, allocations: 320 kB / 0.6905 GB, free: 7.926 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001646/0.5245, allocations: 39.98 kB / 0.6905 GB, free: 7.887 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001082/0.5256, allocations: 111.8 kB / 0.6906 GB, free: 7.777 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001293/0.5257, allocations: 95.5 kB / 0.6907 GB, free: 7.684 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.534e-05/0.5258, allocations: 47.94 kB / 0.6907 GB, free: 7.637 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00122/0.527, allocations: 0.8127 MB / 0.6915 GB, free: 6.812 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.527, allocations: 0 / 0.6915 GB, free: 6.812 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002929/0.5299, allocations: 0.7344 MB / 0.6923 GB, free: 6.078 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.002588/0.5325, allocations: 2.746 MB / 0.6949 GB, free: 3.109 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004082/0.5366, allocations: 2.62 MB / 0.6975 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.164e-06/0.5366, allocations: 0 / 0.6975 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008733/0.5375, allocations: 0.5743 MB / 0.6981 GB, free: 15.93 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00192/0.5395, allocations: 252.4 kB / 0.6983 GB, free: 15.7 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02344/0.5629, allocations: 15.7 MB / 0.7136 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00224/0.5652, allocations: 1.999 MB / 0.7156 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002341/0.5676, allocations: 0.8911 MB / 0.7165 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001031/0.5686, allocations: 0.7258 MB / 0.7172 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of SimCode: time 7.01e-07/0.5686, allocations: 0 / 0.7172 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3013/0.87, allocations: 29.3 MB / 0.7458 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.781/8.651, allocations: 5.406 kB / 0.7458 GB, free: 153.3 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)