Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_latest_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.001061/0.001061, allocations: 92.16 kB / 15.06 MB, free: 1.098 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.0013/0.0013, allocations: 172.7 kB / 15.95 MB, free: 208 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.438/1.438, allocations: 223.2 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.554/2.554, allocations: 409.4 MB / 0.684 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003386/0.0003386, allocations: 8 kB / 0.8378 GB, free: 6.484 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8052/0.8055, allocations: 146.8 MB / 0.9811 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.02422/0.8298, allocations: 14.53 MB / 0.9953 GB, free: 7.684 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.009651/0.8395, allocations: 4.565 MB / 0.9998 GB, free: 3.105 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001939/0.8415, allocations: 55.69 kB / 0.9998 GB, free: 3.051 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001126/0.8427, allocations: 254 kB / 1 GB, free: 2.801 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.00217/0.8449, allocations: 0.587 MB / 1.001 GB, free: 2.211 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002075/0.847, allocations: 494 kB / 1.001 GB, free: 1.73 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.004923/0.8519, allocations: 4.109 MB / 1.005 GB, free: 13.61 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008435/0.8604, allocations: 4.956 MB / 1.01 GB, free: 8.602 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002449/0.8629, allocations: 1.109 MB / 1.011 GB, free: 7.488 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003434/0.8663, allocations: 1.468 MB / 1.012 GB, free: 6.016 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0008573/0.8672, allocations: 140 kB / 1.013 GB, free: 5.879 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001748/0.869, allocations: 403.5 kB / 1.013 GB, free: 5.484 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.002229/0.8712, allocations: 1.064 MB / 1.014 GB, free: 4.418 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.001302/0.8725, allocations: 492.5 kB / 1.015 GB, free: 3.93 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.006624/0.8792, allocations: 4.272 MB / 1.019 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 9.528e-06/0.8793, allocations: 0 / 1.019 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of FrontEnd: time 4.058e-06/0.8793, allocations: 0 / 1.019 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0002204/0.8795, allocations: 0 / 1.019 GB, free: 15.65 MB / 0.7794 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.00682/0.8863, allocations: 2.198 MB / 1.021 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.8864, allocations: 8.031 kB / 1.021 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001259/0.8876, allocations: 370.3 kB / 1.021 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004878/0.8925, allocations: 0.8398 MB / 1.022 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003299/0.8959, allocations: 1.477 MB / 1.023 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002111/0.8961, allocations: 184.7 kB / 1.024 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000994/0.8971, allocations: 228 kB / 1.024 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009884/0.907, allocations: 4.153 MB / 1.028 GB, free: 5.941 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.955e-05/0.9072, allocations: 0 / 1.028 GB, free: 5.941 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006525/0.9079, allocations: 99.98 kB / 1.028 GB, free: 5.844 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002344/0.9081, allocations: 168.5 kB / 1.028 GB, free: 5.676 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007489/0.9156, allocations: 3.621 MB / 1.032 GB, free: 2.039 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02354/0.9392, allocations: 16.55 MB / 1.048 GB, free: 60 kB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003544/0.9428, allocations: 2.301 MB / 1.05 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000946/0.9437, allocations: 0.5702 MB / 1.051 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001737/0.9439, allocations: 97.66 kB / 1.051 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.143e-05/0.944, allocations: 39.12 kB / 1.051 GB, free: 12.81 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=72): time 5.69e-06/0.944, allocations: 0 / 1.051 GB, free: 12.81 MB / 0.8106 GB Notification: Performance of matching and sorting (n=76): time 0.007518/0.9515, allocations: 3.455 MB / 1.054 GB, free: 9.254 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.93e-05/0.9517, allocations: 119.4 kB / 1.054 GB, free: 9.109 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001555/0.9532, allocations: 1.01 MB / 1.055 GB, free: 8.074 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 7.15e-05/0.9533, allocations: 33.7 kB / 1.055 GB, free: 8.035 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008283/0.9542, allocations: 1.103 MB / 1.056 GB, free: 6.914 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002607/0.9544, allocations: 276.1 kB / 1.057 GB, free: 6.641 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001472/0.9546, allocations: 28 kB / 1.057 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001936/0.9548, allocations: 414.7 kB / 1.057 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009693/0.9558, allocations: 0.6128 MB / 1.058 GB, free: 5.586 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001403/0.9572, allocations: 1.193 MB / 1.059 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001407/0.9586, allocations: 0.8579 MB / 1.06 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-05/0.9586, allocations: 4 kB / 1.06 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003494/0.9621, allocations: 2.014 MB / 1.062 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.405e-05/0.9622, allocations: 12 kB / 1.062 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.089e-05/0.9622, allocations: 20 kB / 1.062 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004906/0.9627, allocations: 168 kB / 1.062 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001133/0.9639, allocations: 343.4 kB / 1.062 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.568e-05/0.9639, allocations: 43.81 kB / 1.062 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00112/0.9651, allocations: 135.7 kB / 1.062 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001495/0.9652, allocations: 75.92 kB / 1.062 GB, free: 448 kB / 0.8106 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.001801/0.967, allocations: 0.9694 MB / 1.063 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003161/0.9674, allocations: 114.7 kB / 1.063 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002319/0.9697, allocations: 1.241 MB / 1.065 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.325e-05/0.9697, allocations: 8 kB / 1.065 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.524e-05/0.9697, allocations: 4 kB / 1.065 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/0.9698, allocations: 3.984 kB / 1.065 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006859/0.9766, allocations: 3.815 MB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.288e-05/0.9767, allocations: 0 / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006213/0.9773, allocations: 163.7 kB / 1.069 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003649/0.9777, allocations: 143.3 kB / 1.069 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.485e-05/0.9778, allocations: 16 kB / 1.069 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.003e-05/0.9778, allocations: 16.03 kB / 1.069 GB, free: 9.762 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.9778, allocations: 4 kB / 1.069 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002392/0.9802, allocations: 1.472 MB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006626/0.9809, allocations: 291.7 kB / 1.07 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003155/0.9812, allocations: 12 kB / 1.07 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001193/0.9824, allocations: 75.89 kB / 1.071 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002144/0.9826, allocations: 60.44 kB / 1.071 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.27e-05/0.9827, allocations: 24 kB / 1.071 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001883/0.9846, allocations: 0.6952 MB / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of sort global known variables: time 4.11e-07/0.9847, allocations: 0 / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.002854/0.9875, allocations: 384 kB / 1.072 GB, free: 6.676 MB / 0.8262 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.002794/0.9903, allocations: 2.046 MB / 1.074 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.003979/0.9943, allocations: 1.714 MB / 1.075 GB, free: 2.77 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.9944, allocations: 0 / 1.075 GB, free: 2.77 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001417/0.9958, allocations: 0.8634 MB / 1.076 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002847/0.9987, allocations: 243.9 kB / 1.076 GB, free: 1.578 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02528/1.024, allocations: 9.729 MB / 1.086 GB, free: 7.32 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003951/1.028, allocations: 1.916 MB / 1.088 GB, free: 5.371 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001981/1.03, allocations: 453.6 kB / 1.088 GB, free: 4.926 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001547/1.032, allocations: 0.714 MB / 1.089 GB, free: 4.211 MB / 0.8419 GB Notification: Performance of SimCode: time 1.432e-06/1.032, allocations: 0 / 1.089 GB, free: 4.211 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05906/1.091, allocations: 26.98 MB / 1.115 GB, free: 9.59 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002126/1.091, allocations: 246.6 kB / 1.116 GB, free: 9.34 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.224/3.315, allocations: 0 / 1.116 GB, free: 9.34 MB / 0.8731 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat does not exist to compare? outputFormat=mat