Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_9_Buildings_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.001276/0.001277, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001491/0.001491, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 223.2 MB / 239.9 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.346/2.346, allocations: 390.3 MB / 0.6653 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003181/0.0003182, allocations: 8 kB / 0.8146 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7289/0.7293, allocations: 142.3 MB / 0.9536 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01409/0.7434, allocations: 14.09 MB / 0.9674 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.008525/0.752, allocations: 4.557 MB / 0.9718 GB, free: 9.926 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001494/0.7535, allocations: 50.84 kB / 0.9719 GB, free: 9.906 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0009725/0.7545, allocations: 284.5 kB / 0.9721 GB, free: 9.652 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002561/0.7571, allocations: 0.6336 MB / 0.9727 GB, free: 9.113 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002022/0.7591, allocations: 0.5796 MB / 0.9733 GB, free: 8.676 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003029/0.7622, allocations: 1.649 MB / 0.9749 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008603/0.7708, allocations: 4.937 MB / 0.9797 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002235/0.7731, allocations: 0.9515 MB / 0.9807 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001953/0.775, allocations: 0.9967 MB / 0.9816 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002903/0.7753, allocations: 144 kB / 0.9818 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001062/0.7764, allocations: 355.6 kB / 0.9821 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001136/0.7776, allocations: 0.9784 MB / 0.9831 GB, free: 1.844 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0005735/0.7781, allocations: 496.5 kB / 0.9835 GB, free: 1.352 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.004153/0.7823, allocations: 4.202 MB / 0.9877 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.7823, allocations: 0 / 0.9877 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of FrontEnd: time 3.266e-06/0.7823, allocations: 0 / 0.9877 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0001243/0.7825, allocations: 3.938 kB / 0.9877 GB, free: 13.14 MB / 0.7481 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.00505/0.7875, allocations: 2.19 MB / 0.9898 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/0.7876, allocations: 12.03 kB / 0.9898 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009377/0.7885, allocations: 382.3 kB / 0.9902 GB, free: 10.49 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004047/0.7926, allocations: 0.8633 MB / 0.991 GB, free: 9.625 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003557/0.7962, allocations: 1.473 MB / 0.9925 GB, free: 8.102 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001512/0.7964, allocations: 176.8 kB / 0.9926 GB, free: 7.926 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005161/0.7969, allocations: 232 kB / 0.9928 GB, free: 7.699 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007229/0.8041, allocations: 4.126 MB / 0.9969 GB, free: 3.434 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.838e-05/0.8042, allocations: 19.78 kB / 0.9969 GB, free: 3.414 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002503/0.8045, allocations: 104 kB / 0.997 GB, free: 3.312 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002283/0.8047, allocations: 168.5 kB / 0.9972 GB, free: 3.145 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006121/0.8108, allocations: 3.621 MB / 1.001 GB, free: 15.51 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01964/0.8305, allocations: 16.54 MB / 1.017 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003219/0.8338, allocations: 2.294 MB / 1.019 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001463/0.8339, allocations: 97.59 kB / 1.019 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.834, allocations: 47.12 kB / 1.019 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=72): time 2.465e-06/0.834, allocations: 0 / 1.019 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of matching and sorting (n=76): time 0.005257/0.8393, allocations: 3.45 MB / 1.023 GB, free: 7.316 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.901e-05/0.8393, allocations: 115.4 kB / 1.023 GB, free: 7.176 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001223/0.8406, allocations: 1.014 MB / 1.024 GB, free: 6.137 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.486e-05/0.8406, allocations: 33.7 kB / 1.024 GB, free: 6.098 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000725/0.8414, allocations: 1.107 MB / 1.025 GB, free: 4.973 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002387/0.8416, allocations: 280.1 kB / 1.025 GB, free: 4.695 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.107e-05/0.8417, allocations: 28 kB / 1.025 GB, free: 4.668 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002315/0.8419, allocations: 410.7 kB / 1.025 GB, free: 4.258 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009259/0.8429, allocations: 0.6205 MB / 1.026 GB, free: 3.637 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001354/0.8442, allocations: 1.185 MB / 1.027 GB, free: 2.184 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001242/0.8455, allocations: 0.8657 MB / 1.028 GB, free: 1.316 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.957e-06/0.8455, allocations: 4 kB / 1.028 GB, free: 1.312 MB / 0.7794 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.00326/0.8488, allocations: 2.018 MB / 1.03 GB, free: 15.27 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.433e-05/0.8488, allocations: 15.98 kB / 1.03 GB, free: 15.26 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-05/0.8488, allocations: 20 kB / 1.03 GB, free: 15.24 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000458/0.8493, allocations: 175.8 kB / 1.03 GB, free: 15.05 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/0.8505, allocations: 339.4 kB / 1.031 GB, free: 14.72 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.294e-05/0.8505, allocations: 39.86 kB / 1.031 GB, free: 14.68 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001047/0.8516, allocations: 143.7 kB / 1.031 GB, free: 14.54 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001189/0.8517, allocations: 71.98 kB / 1.031 GB, free: 14.47 MB / 0.795 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 (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001783/0.8535, allocations: 0.9751 MB / 1.032 GB, free: 13.49 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003023/0.8538, allocations: 106.8 kB / 1.032 GB, free: 13.38 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002236/0.8561, allocations: 1.241 MB / 1.033 GB, free: 12.12 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.632e-05/0.8561, allocations: 8 kB / 1.033 GB, free: 12.11 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.497e-06/0.8561, allocations: 0 / 1.033 GB, free: 12.11 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/0.8561, allocations: 7.984 kB / 1.033 GB, free: 12.11 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006257/0.8624, allocations: 3.69 MB / 1.037 GB, free: 8.293 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.8624, allocations: 0 / 1.037 GB, free: 8.293 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006194/0.8631, allocations: 164 kB / 1.037 GB, free: 8.133 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003591/0.8634, allocations: 143.3 kB / 1.037 GB, free: 7.98 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.989e-05/0.8635, allocations: 20 kB / 1.037 GB, free: 7.961 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.183e-06/0.8635, allocations: 4 kB / 1.037 GB, free: 7.957 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.8635, allocations: 4 kB / 1.037 GB, free: 7.953 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002175/0.8657, allocations: 1.596 MB / 1.039 GB, free: 6.25 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005812/0.8663, allocations: 291.6 kB / 1.039 GB, free: 5.945 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001362/0.8664, allocations: 31.94 kB / 1.039 GB, free: 5.914 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005813/0.867, allocations: 67.91 kB / 1.039 GB, free: 5.848 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001342/0.8672, allocations: 60.42 kB / 1.039 GB, free: 5.785 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.249e-05/0.8672, allocations: 20 kB / 1.039 GB, free: 5.766 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.000959/0.8682, allocations: 0.6953 MB / 1.04 GB, free: 5.059 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8682, allocations: 0 / 1.04 GB, free: 5.059 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001442/0.8696, allocations: 392.1 kB / 1.04 GB, free: 4.676 MB / 0.795 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 (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002618/0.8723, allocations: 2.846 MB / 1.043 GB, free: 1.727 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002448/0.8747, allocations: 1.719 MB / 1.045 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.8747, allocations: 0.5 kB / 1.045 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0009593/0.8757, allocations: 0.8658 MB / 1.045 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001224/0.8769, allocations: 253.8 kB / 1.046 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02046/0.8974, allocations: 22.53 MB / 1.068 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001785/0.8992, allocations: 1.957 MB / 1.07 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001187/0.9004, allocations: 461.4 kB / 1.07 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009108/0.9014, allocations: 0.7141 MB / 1.071 GB, free: 4.387 MB / 0.8262 GB Notification: Performance of SimCode: time 9.51e-07/0.9014, allocations: 0 / 1.071 GB, free: 4.387 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04701/0.9484, allocations: 26.87 MB / 1.097 GB, free: 9.879 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000303/0.9487, allocations: 217.1 kB / 1.097 GB, free: 9.641 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.193/3.142, allocations: 0 / 1.097 GB, free: 9.641 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat does not exist to compare? outputFormat=mat