Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="BuildingSystems_BuildingSystems_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.001215/0.00122, allocations: 104 kB / 15.6 MB, free: 148 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.001645/0.001645, allocations: 196.1 kB / 16.53 MB, free: 6.625 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.33/1.33, allocations: 222.9 MB / 240.2 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002141/0.002142, allocations: 290.2 kB / 290.7 MB, free: 1.938 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9911/0.9911, allocations: 169.3 MB / 0.4982 GB, free: 13.89 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001676/0.001676, allocations: 98.27 kB / 0.5954 GB, free: 27.8 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1474, allocations: 86.98 MB / 0.6803 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.0167/0.1642, allocations: 15.99 MB / 0.6959 GB, free: 0.543 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006922/0.1711, allocations: 4.821 MB / 0.7006 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000684/0.1718, allocations: 63.69 kB / 0.7007 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002369/0.1742, allocations: 1.03 MB / 0.7017 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001281/0.1755, allocations: 0.7542 MB / 0.7024 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001762/0.1773, allocations: 0.926 MB / 0.7033 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002878/0.1802, allocations: 3.611 MB / 0.7069 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004963/0.1852, allocations: 4.812 MB / 0.7116 GB, free: 436 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00208/0.1873, allocations: 1.578 MB / 0.7131 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002831/0.1901, allocations: 1.772 MB / 0.7148 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0008498/0.191, allocations: 340 kB / 0.7151 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002338/0.1933, allocations: 0.7997 MB / 0.7159 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001815/0.1952, allocations: 1.329 MB / 0.7172 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002187/0.1974, allocations: 1.443 MB / 0.7186 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004725/0.2021, allocations: 5.099 MB / 0.7236 GB, free: 4.039 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/0.2021, allocations: 0 / 0.7236 GB, free: 4.039 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.943e-06/0.2021, allocations: 3.938 kB / 0.7236 GB, free: 4.035 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.842e-05/0.2022, allocations: 4 kB / 0.7236 GB, free: 4.031 MB / 0.5137 GB 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.004966/0.2072, allocations: 2.647 MB / 0.7262 GB, free: 1.324 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.2073, allocations: 12.03 kB / 0.7262 GB, free: 1.312 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004166/0.2077, allocations: 370.5 kB / 0.7266 GB, free: 0.9414 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003736/0.2114, allocations: 0.829 MB / 0.7274 GB, free: 112 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002229/0.2137, allocations: 1.505 MB / 0.7289 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001212/0.2138, allocations: 177.1 kB / 0.729 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003649/0.2142, allocations: 232.3 kB / 0.7292 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005789/0.22, allocations: 4.161 MB / 0.7333 GB, free: 9.855 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.671e-05/0.22, allocations: 4 kB / 0.7333 GB, free: 9.852 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000235/0.2203, allocations: 103.9 kB / 0.7334 GB, free: 9.75 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001743/0.2205, allocations: 168.5 kB / 0.7336 GB, free: 9.582 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005136/0.2256, allocations: 3.632 MB / 0.7371 GB, free: 5.934 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01577/0.2414, allocations: 16.56 MB / 0.7533 GB, free: 3.945 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003215/0.2446, allocations: 2.287 MB / 0.7555 GB, free: 1.457 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008095/0.2455, allocations: 0.58 MB / 0.7561 GB, free: 0.8711 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001417/0.2456, allocations: 97.66 kB / 0.7562 GB, free: 0.7578 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.846e-05/0.2457, allocations: 47.06 kB / 0.7562 GB, free: 0.6992 MB / 0.545 GB Notification: Performance of pre-optimization done (n=72): time 3.056e-06/0.2457, allocations: 0 / 0.7562 GB, free: 0.6992 MB / 0.545 GB Notification: Performance of matching and sorting (n=76): time 0.005321/0.251, allocations: 3.428 MB / 0.7596 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.678e-05/0.2511, allocations: 111.5 kB / 0.7597 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001282/0.2524, allocations: 1.026 MB / 0.7607 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.404e-05/0.2524, allocations: 33.7 kB / 0.7607 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006539/0.2531, allocations: 1.103 MB / 0.7618 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001926/0.2533, allocations: 272.2 kB / 0.7621 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003473/0.2536, allocations: 275.2 kB / 0.7623 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001805/0.2538, allocations: 418.7 kB / 0.7627 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008742/0.2547, allocations: 0.6089 MB / 0.7633 GB, free: 9.258 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001284/0.256, allocations: 1.193 MB / 0.7645 GB, free: 7.801 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002311/0.2583, allocations: 1.872 MB / 0.7663 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.824e-06/0.2583, allocations: 4 kB / 0.7663 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002882/0.2612, allocations: 2.014 MB / 0.7683 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.599e-05/0.2613, allocations: 12 kB / 0.7683 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.26e-05/0.2613, allocations: 20 kB / 0.7683 GB, free: 3.594 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004178/0.2617, allocations: 167.9 kB / 0.7685 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001068/0.2628, allocations: 347.4 kB / 0.7688 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.243e-05/0.2628, allocations: 35.86 kB / 0.7688 GB, free: 3.043 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009238/0.2638, allocations: 135.6 kB / 0.769 GB, free: 2.91 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.809e-05/0.2639, allocations: 67.98 kB / 0.769 GB, free: 2.844 MB / 0.5606 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.001417/0.2653, allocations: 0.9706 MB / 0.77 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002091/0.2655, allocations: 106.7 kB / 0.7701 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001919/0.2674, allocations: 1.241 MB / 0.7713 GB, free: 500 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/0.2675, allocations: 11.94 kB / 0.7713 GB, free: 488 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/0.2675, allocations: 0 / 0.7713 GB, free: 488 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.848e-06/0.2675, allocations: 3.984 kB / 0.7713 GB, free: 484 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2949/0.5624, allocations: 3.796 MB / 0.775 GB, free: 88.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/0.5624, allocations: 2.781 kB / 0.775 GB, free: 88.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006042/0.563, allocations: 158.2 kB / 0.7752 GB, free: 88.31 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003376/0.5634, allocations: 141.4 kB / 0.7753 GB, free: 88.25 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.455e-05/0.5634, allocations: 19.12 kB / 0.7753 GB, free: 88.24 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.088e-05/0.5634, allocations: 15.45 kB / 0.7753 GB, free: 88.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.5635, allocations: 3.906 kB / 0.7753 GB, free: 88.23 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001834/0.5653, allocations: 1.47 MB / 0.7768 GB, free: 87.51 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003747/0.5657, allocations: 275.2 kB / 0.777 GB, free: 87.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001279/0.5658, allocations: 17.56 kB / 0.777 GB, free: 87.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005642/0.5664, allocations: 65.95 kB / 0.7771 GB, free: 87.36 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/0.5665, allocations: 59 kB / 0.7772 GB, free: 87.34 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.203e-05/0.5666, allocations: 24.98 kB / 0.7772 GB, free: 87.34 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008303/0.5674, allocations: 0.6941 MB / 0.7779 GB, free: 87.05 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.51e-07/0.5674, allocations: 0 / 0.7779 GB, free: 87.05 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001434/0.5688, allocations: 391.2 kB / 0.7782 GB, free: 87.02 MB / 0.5606 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.001931/0.5708, allocations: 2.031 MB / 0.7802 GB, free: 85.75 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002542/0.5733, allocations: 2.017 MB / 0.7822 GB, free: 84.88 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.5734, allocations: 0 / 0.7822 GB, free: 84.88 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007272/0.5741, allocations: 0.8564 MB / 0.783 GB, free: 84.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001329/0.5754, allocations: 274.8 kB / 0.7833 GB, free: 84.22 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01855/0.594, allocations: 13.34 MB / 0.7963 GB, free: 76.83 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001883/0.5959, allocations: 1.914 MB / 0.7982 GB, free: 75.85 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001327/0.5973, allocations: 455.8 kB / 0.7986 GB, free: 75.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007685/0.598, allocations: 0.7089 MB / 0.7993 GB, free: 75.22 MB / 0.5606 GB Notification: Performance of SimCode: time 7.52e-07/0.5981, allocations: 0.9844 kB / 0.7993 GB, free: 75.22 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04649/0.6446, allocations: 27.31 MB / 0.826 GB, free: 57.14 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.017/9.662, allocations: 10.48 kB / 0.826 GB, free: 57.13 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1)