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.001671/0.001671, allocations: 99.94 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.001818/0.001818, 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 2.658/2.658, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 5.248/5.248, allocations: 409.2 MB / 0.6838 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006023/0.0006024, allocations: 11.98 kB / 0.8375 GB, free: 6.516 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.54/1.54, allocations: 146.8 MB / 0.9809 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.02682/1.567, allocations: 14.09 MB / 0.9946 GB, free: 8.137 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01371/1.581, allocations: 4.55 MB / 0.9991 GB, free: 3.574 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002846/1.584, allocations: 51.62 kB / 0.9991 GB, free: 3.523 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001962/1.586, allocations: 282.2 kB / 0.9994 GB, free: 3.246 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.005089/1.591, allocations: 0.6387 MB / 1 GB, free: 2.605 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.003649/1.595, allocations: 0.5794 MB / 1.001 GB, free: 2.027 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.004693/1.6, allocations: 1.644 MB / 1.002 GB, free: 392 kB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01315/1.613, allocations: 4.953 MB / 1.007 GB, free: 11.38 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003204/1.616, allocations: 0.9539 MB / 1.008 GB, free: 10.42 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003873/1.62, allocations: 0.9966 MB / 1.009 GB, free: 9.418 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0008487/1.621, allocations: 144 kB / 1.009 GB, free: 9.277 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00214/1.623, allocations: 347.7 kB / 1.009 GB, free: 8.938 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.00185/1.625, allocations: 0.9861 MB / 1.01 GB, free: 7.949 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.001038/1.626, allocations: 496.5 kB / 1.011 GB, free: 7.457 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.006985/1.633, allocations: 4.21 MB / 1.015 GB, free: 3.238 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/1.633, allocations: 0 / 1.015 GB, free: 3.238 MB / 0.7637 GB Notification: Performance of FrontEnd: time 5.63e-06/1.633, allocations: 4 kB / 1.015 GB, free: 3.234 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.000211/1.633, allocations: 0 / 1.015 GB, free: 3.234 MB / 0.7637 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.009602/1.643, allocations: 2.184 MB / 1.017 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 8.175e-05/1.643, allocations: 8.031 kB / 1.017 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001743/1.645, allocations: 378.2 kB / 1.017 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008068/1.653, allocations: 0.8633 MB / 1.018 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005641/1.659, allocations: 1.477 MB / 1.02 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002806/1.659, allocations: 180.7 kB / 1.02 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001165/1.66, allocations: 231.9 kB / 1.02 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01548/1.676, allocations: 4.13 MB / 1.024 GB, free: 9.535 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001065/1.676, allocations: 7.938 kB / 1.024 GB, free: 9.527 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005409/1.676, allocations: 95.98 kB / 1.024 GB, free: 9.434 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000391/1.677, allocations: 176.5 kB / 1.024 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01225/1.689, allocations: 3.621 MB / 1.028 GB, free: 5.621 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04176/1.731, allocations: 16.54 MB / 1.044 GB, free: 3.656 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007381/1.738, allocations: 2.296 MB / 1.046 GB, free: 1.156 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005711/1.739, allocations: 93.66 kB / 1.046 GB, free: 1.047 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002149/1.739, allocations: 51.06 kB / 1.046 GB, free: 0.9883 MB / 0.795 GB Notification: Performance of pre-optimization done (n=72): time 1.71e-05/1.74, allocations: 0 / 1.046 GB, free: 0.9883 MB / 0.795 GB Notification: Performance of matching and sorting (n=76): time 0.01765/1.757, allocations: 3.45 MB / 1.05 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001811/1.758, allocations: 119.4 kB / 1.05 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003651/1.761, allocations: 1.01 MB / 1.051 GB, free: 12.26 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0002446/1.761, allocations: 41.64 kB / 1.051 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.001588/1.763, allocations: 1.099 MB / 1.052 GB, free: 11.09 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006052/1.764, allocations: 284.1 kB / 1.052 GB, free: 10.81 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002244/1.764, allocations: 24 kB / 1.052 GB, free: 10.79 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0004837/1.765, allocations: 418.7 kB / 1.053 GB, free: 10.37 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006548/1.771, allocations: 0.6089 MB / 1.053 GB, free: 9.762 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003081/1.774, allocations: 1.185 MB / 1.055 GB, free: 8.312 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002822/1.777, allocations: 0.8696 MB / 1.055 GB, free: 7.441 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.346e-05/1.777, allocations: 4 kB / 1.055 GB, free: 7.438 MB / 0.8106 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.01118/1.788, allocations: 2.018 MB / 1.057 GB, free: 5.398 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 7.737e-05/1.789, allocations: 15.98 kB / 1.057 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.838e-05/1.789, allocations: 20 kB / 1.057 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000813/1.789, allocations: 167.7 kB / 1.058 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002197/1.792, allocations: 347.4 kB / 1.058 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.669e-05/1.792, allocations: 39.86 kB / 1.058 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002222/1.794, allocations: 139.6 kB / 1.058 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002133/1.794, allocations: 71.98 kB / 1.058 GB, free: 4.602 MB / 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.008114/1.802, allocations: 0.9693 MB / 1.059 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007316/1.803, allocations: 110.7 kB / 1.059 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004227/1.807, allocations: 1.234 MB / 1.06 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.051e-05/1.807, allocations: 12 kB / 1.06 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.511e-05/1.807, allocations: 0 / 1.06 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.704e-05/1.807, allocations: 3.984 kB / 1.06 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01622/1.824, allocations: 3.69 MB / 1.064 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.479e-05/1.824, allocations: 0 / 1.064 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001333/1.825, allocations: 168 kB / 1.064 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006947/1.826, allocations: 139.3 kB / 1.064 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.64e-05/1.826, allocations: 19.95 kB / 1.064 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.606e-05/1.826, allocations: 11.94 kB / 1.064 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/1.826, allocations: 0 / 1.064 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004185/1.83, allocations: 1.6 MB / 1.066 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001237/1.831, allocations: 287.6 kB / 1.066 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002591/1.832, allocations: 23.98 kB / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005483/1.837, allocations: 71.91 kB / 1.066 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003079/1.838, allocations: 64.38 kB / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.444e-05/1.838, allocations: 20 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.002074/1.84, allocations: 0.6913 MB / 1.067 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of sort global known variables: time 5.01e-07/1.84, allocations: 4 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.00339/1.843, allocations: 388 kB / 1.067 GB, free: 10.8 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.005251/1.849, allocations: 2.858 MB / 1.07 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.009461/1.858, allocations: 1.718 MB / 1.072 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.531e-05/1.858, allocations: 1 kB / 1.072 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.00203/1.86, allocations: 0.8699 MB / 1.073 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002744/1.863, allocations: 228.5 kB / 1.073 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06312/1.926, allocations: 22.54 MB / 1.095 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008365/1.935, allocations: 1.957 MB / 1.097 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.002547/1.937, allocations: 457.4 kB / 1.097 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001984/1.939, allocations: 0.7102 MB / 1.098 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of SimCode: time 2.364e-06/1.939, allocations: 0 / 1.098 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1259/2.065, allocations: 26.87 MB / 1.124 GB, free: 12 kB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004328/2.066, allocations: 229.5 kB / 1.124 GB, free: 15.77 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.005/7.071, allocations: 0 / 1.124 GB, free: 15.77 MB / 0.8887 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