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.001802/0.001803, allocations: 104.6 kB / 16.4 MB, free: 6.457 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.001841/0.001841, allocations: 193.2 kB / 17.34 MB, free: 5.715 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.466/1.466, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9289/0.9289, allocations: 126.7 MB / 417.9 MB, free: 12.25 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 72.12 kB / 0.5735 GB, free: 27.09 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1598, allocations: 78.86 MB / 0.6505 GB, free: 3.613 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.02101/0.1809, allocations: 16 MB / 0.6662 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009405/0.1903, allocations: 4.824 MB / 0.6709 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001795/0.1922, allocations: 67.62 kB / 0.6709 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003192/0.1954, allocations: 1.041 MB / 0.672 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002326/0.1978, allocations: 0.7464 MB / 0.6727 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002699/0.2005, allocations: 0.9225 MB / 0.6736 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004378/0.2049, allocations: 3.61 MB / 0.6771 GB, free: 8.32 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006029/0.2109, allocations: 4.777 MB / 0.6818 GB, free: 3.473 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002659/0.2136, allocations: 1.582 MB / 0.6833 GB, free: 1.887 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003111/0.2167, allocations: 1.78 MB / 0.6851 GB, free: 104 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.000879/0.2176, allocations: 340 kB / 0.6854 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002123/0.2197, allocations: 0.7957 MB / 0.6862 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001674/0.2214, allocations: 1.329 MB / 0.6875 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001705/0.2232, allocations: 1.451 MB / 0.6889 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.006132/0.2293, allocations: 5.148 MB / 0.6939 GB, free: 7.02 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.2293, allocations: 4 kB / 0.6939 GB, free: 7.016 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.044e-06/0.2293, allocations: 0 / 0.6939 GB, free: 7.016 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001057/0.2295, allocations: 0 / 0.6939 GB, free: 7.016 MB / 0.5294 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.007232/0.2367, allocations: 2.711 MB / 0.6966 GB, free: 4.242 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.2368, allocations: 12.03 kB / 0.6966 GB, free: 4.23 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005557/0.2373, allocations: 370.5 kB / 0.6969 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004122/0.2415, allocations: 0.8498 MB / 0.6978 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003155/0.2446, allocations: 1.576 MB / 0.6993 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001384/0.2448, allocations: 181.1 kB / 0.6995 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004828/0.2453, allocations: 228.4 kB / 0.6997 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007279/0.2526, allocations: 4.169 MB / 0.7038 GB, free: 12.67 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.539e-05/0.2527, allocations: 7.938 kB / 0.7038 GB, free: 12.66 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000263/0.2529, allocations: 95.98 kB / 0.7039 GB, free: 12.57 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002123/0.2531, allocations: 168.5 kB / 0.704 GB, free: 12.4 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006138/0.2593, allocations: 3.632 MB / 0.7076 GB, free: 8.754 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02049/0.2798, allocations: 16.45 MB / 0.7236 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003593/0.2834, allocations: 2.291 MB / 0.7259 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009656/0.2844, allocations: 0.578 MB / 0.7264 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001583/0.2846, allocations: 93.66 kB / 0.7265 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.773e-05/0.2847, allocations: 43.12 kB / 0.7266 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=72): time 2.705e-06/0.2847, allocations: 0 / 0.7266 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of matching and sorting (n=76): time 0.005808/0.2905, allocations: 3.503 MB / 0.73 GB, free: 44 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.536e-05/0.2906, allocations: 115.4 kB / 0.7301 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001357/0.292, allocations: 1.018 MB / 0.7311 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.535e-05/0.292, allocations: 41.64 kB / 0.7311 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007713/0.2928, allocations: 1.142 MB / 0.7322 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002438/0.2931, allocations: 293.6 kB / 0.7325 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003996/0.2935, allocations: 283.4 kB / 0.7328 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002166/0.2937, allocations: 414.7 kB / 0.7332 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009611/0.2946, allocations: 0.6167 MB / 0.7338 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001424/0.2961, allocations: 1.182 MB / 0.7349 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002408/0.2985, allocations: 1.86 MB / 0.7368 GB, free: 8.484 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.847e-06/0.2985, allocations: 8 kB / 0.7368 GB, free: 8.477 MB / 0.5762 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003313/0.3018, allocations: 2.027 MB / 0.7387 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.761e-05/0.3019, allocations: 16 kB / 0.7388 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.184e-05/0.3019, allocations: 16 kB / 0.7388 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004453/0.3024, allocations: 164 kB / 0.7389 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001149/0.3035, allocations: 343.4 kB / 0.7393 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-05/0.3036, allocations: 43.8 kB / 0.7393 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009444/0.3045, allocations: 127.8 kB / 0.7394 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001055/0.3046, allocations: 67.98 kB / 0.7395 GB, free: 5.656 MB / 0.5762 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.001373/0.306, allocations: 0.9772 MB / 0.7404 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002047/0.3062, allocations: 115.2 kB / 0.7405 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002175/0.3084, allocations: 1.234 MB / 0.7418 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.808e-06/0.3084, allocations: 8 kB / 0.7418 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/0.3084, allocations: 4 kB / 0.7418 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.3085, allocations: 3.984 kB / 0.7418 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3343/0.6428, allocations: 3.795 MB / 0.7455 GB, free: 86.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.107e-05/0.6429, allocations: 2.688 kB / 0.7455 GB, free: 86.16 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006665/0.6435, allocations: 159.2 kB / 0.7456 GB, free: 86.16 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000388/0.6439, allocations: 139.8 kB / 0.7458 GB, free: 86.12 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.516e-05/0.644, allocations: 21.16 kB / 0.7458 GB, free: 86.12 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.2e-05/0.644, allocations: 9.625 kB / 0.7458 GB, free: 86.12 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.644, allocations: 3.281 kB / 0.7458 GB, free: 86.12 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002109/0.6461, allocations: 1.467 MB / 0.7472 GB, free: 85.75 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004217/0.6466, allocations: 280.8 kB / 0.7475 GB, free: 85.65 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001344/0.6467, allocations: 18.56 kB / 0.7475 GB, free: 85.65 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005691/0.6473, allocations: 61.41 kB / 0.7476 GB, free: 85.65 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001431/0.6474, allocations: 64.56 kB / 0.7476 GB, free: 85.65 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.587e-05/0.6475, allocations: 26.05 kB / 0.7477 GB, free: 85.65 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009354/0.6484, allocations: 0.6964 MB / 0.7483 GB, free: 85.54 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6484, allocations: 1.312 kB / 0.7483 GB, free: 85.54 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001378/0.6498, allocations: 388.7 kB / 0.7487 GB, free: 85.54 MB / 0.5762 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.002231/0.6521, allocations: 2.046 MB / 0.7507 GB, free: 84.34 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00246/0.6545, allocations: 1.721 MB / 0.7524 GB, free: 83.48 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.6546, allocations: 1.188 kB / 0.7524 GB, free: 83.48 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009969/0.6556, allocations: 0.8562 MB / 0.7532 GB, free: 82.91 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001559/0.6571, allocations: 268.4 kB / 0.7535 GB, free: 82.84 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01922/0.6764, allocations: 12.91 MB / 0.7661 GB, free: 76.04 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001717/0.6781, allocations: 1.915 MB / 0.768 GB, free: 75.06 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001132/0.6793, allocations: 458 kB / 0.7684 GB, free: 75.01 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007404/0.68, allocations: 0.7132 MB / 0.7691 GB, free: 74.42 MB / 0.5762 GB Notification: Performance of SimCode: time 6.61e-07/0.68, allocations: 0 / 0.7691 GB, free: 74.42 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0524/0.7324, allocations: 27.88 MB / 0.7963 GB, free: 53.71 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/12.39, allocations: 5.188 kB / 0.7963 GB, free: 53.71 MB / 0.5762 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1)