Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.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.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource",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.00132/0.00132, 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.001549/0.001549, 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.387/1.387, allocations: 223.2 MB / 239.9 MB, free: 5.434 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.333/2.333, allocations: 390.3 MB / 0.6653 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005109/0.0005109, allocations: 8 kB / 0.8146 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8781/0.8787, allocations: 142.3 MB / 0.9536 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.01762/0.8964, allocations: 14.86 MB / 0.9681 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01215/0.9086, allocations: 5.899 MB / 0.9739 GB, free: 8.367 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002282/0.9109, allocations: 39.16 kB / 0.9739 GB, free: 8.359 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001596/0.9125, allocations: 329.1 kB / 0.9742 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003215/0.9158, allocations: 0.6183 MB / 0.9748 GB, free: 7.539 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003632/0.9194, allocations: 0.8956 MB / 0.9757 GB, free: 6.867 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003816/0.9233, allocations: 1.727 MB / 0.9774 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01015/0.9334, allocations: 5.258 MB / 0.9825 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002206/0.9357, allocations: 0.9385 MB / 0.9834 GB, free: 1.484 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002503/0.9382, allocations: 1.102 MB / 0.9845 GB, free: 388 kB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0008232/0.939, allocations: 164 kB / 0.9847 GB, free: 224 kB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001719/0.9408, allocations: 379.7 kB / 0.985 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.002073/0.9428, allocations: 1.123 MB / 0.9861 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001329/0.9442, allocations: 0.5043 MB / 0.9866 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0064/0.9506, allocations: 4.607 MB / 0.9911 GB, free: 9.594 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.9506, allocations: 0 / 0.9911 GB, free: 9.594 MB / 0.7481 GB Notification: Performance of FrontEnd: time 3.696e-06/0.9507, allocations: 0 / 0.9911 GB, free: 9.594 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0002051/0.9509, allocations: 0 / 0.9911 GB, free: 9.594 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: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.006324/0.9572, allocations: 2.223 MB / 0.9933 GB, free: 7.312 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.9573, allocations: 12.03 kB / 0.9933 GB, free: 7.301 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001177/0.9584, allocations: 407.5 kB / 0.9937 GB, free: 6.895 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004182/0.9626, allocations: 0.8242 MB / 0.9945 GB, free: 6.066 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003574/0.9662, allocations: 1.391 MB / 0.9959 GB, free: 4.629 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001738/0.9664, allocations: 193.2 kB / 0.996 GB, free: 4.438 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005729/0.967, allocations: 251.9 kB / 0.9963 GB, free: 4.191 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008214/0.9752, allocations: 4.545 MB / 1.001 GB, free: 15.44 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.97e-05/0.9753, allocations: 7.938 kB / 1.001 GB, free: 15.43 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002747/0.9756, allocations: 108 kB / 1.001 GB, free: 15.33 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002284/0.9758, allocations: 176.3 kB / 1.001 GB, free: 15.16 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00673/0.9826, allocations: 3.81 MB / 1.005 GB, free: 11.34 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0261/1.009, allocations: 21.45 MB / 1.026 GB, free: 3.992 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002618/1.011, allocations: 2.245 MB / 1.028 GB, free: 1.457 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.287e-05/1.011, allocations: 11.98 kB / 1.028 GB, free: 1.445 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/1.011, allocations: 50.5 kB / 1.028 GB, free: 1.387 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=62): time 3.066e-06/1.011, allocations: 4 kB / 1.028 GB, free: 1.383 MB / 0.7794 GB Notification: Performance of matching and sorting (n=68): time 0.005853/1.017, allocations: 4.2 MB / 1.032 GB, free: 13.13 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001327/1.018, allocations: 247.3 kB / 1.032 GB, free: 12.84 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001452/1.019, allocations: 1.104 MB / 1.033 GB, free: 11.71 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 6.767e-05/1.019, allocations: 41.64 kB / 1.033 GB, free: 11.66 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007687/1.02, allocations: 1.187 MB / 1.035 GB, free: 10.45 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002219/1.02, allocations: 260.5 kB / 1.035 GB, free: 10.2 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.087e-05/1.02, allocations: 28 kB / 1.035 GB, free: 10.17 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0002088/1.02, allocations: 406.7 kB / 1.035 GB, free: 9.762 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009897/1.021, allocations: 0.7065 MB / 1.036 GB, free: 9.055 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001468/1.023, allocations: 1.399 MB / 1.037 GB, free: 7.316 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001304/1.024, allocations: 0.9867 MB / 1.038 GB, free: 6.332 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.819e-06/1.024, allocations: 4 kB / 1.038 GB, free: 6.328 MB / 0.795 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003163/1.027, allocations: 2.191 MB / 1.04 GB, free: 4.129 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.00462/1.032, allocations: 9.391 MB / 1.05 GB, free: 10 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-05/1.032, allocations: 28 kB / 1.05 GB, free: 9.973 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.495e-05/1.032, allocations: 40 kB / 1.05 GB, free: 9.934 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001615/1.034, allocations: 427.2 kB / 1.05 GB, free: 9.516 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.008e-05/1.034, allocations: 51.8 kB / 1.05 GB, free: 9.465 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001344/1.035, allocations: 187.4 kB / 1.05 GB, free: 9.281 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/1.035, allocations: 87.92 kB / 1.05 GB, free: 9.195 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/1.035, allocations: 11.95 kB / 1.05 GB, free: 9.184 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002943/1.038, allocations: 1.863 MB / 1.052 GB, free: 7.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.957e-05/1.038, allocations: 28 kB / 1.052 GB, free: 7.293 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.448e-05/1.038, allocations: 36 kB / 1.052 GB, free: 7.258 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/1.04, allocations: 391.3 kB / 1.053 GB, free: 6.875 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.432e-05/1.04, allocations: 43.86 kB / 1.053 GB, free: 6.832 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001032/1.041, allocations: 131.8 kB / 1.053 GB, free: 6.703 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001444/1.041, allocations: 87.98 kB / 1.053 GB, free: 6.617 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * 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 (192): * Single equations (assignments): 192 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002235/1.043, allocations: 1.131 MB / 1.054 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003598/1.043, allocations: 111 kB / 1.054 GB, free: 5.367 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001742/1.045, allocations: 1.107 MB / 1.055 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.187e-05/1.045, allocations: 15.92 kB / 1.055 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.896e-06/1.045, allocations: 4 kB / 1.055 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/1.045, allocations: 7.984 kB / 1.055 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01913/1.064, allocations: 10.26 MB / 1.065 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.818e-05/1.064, allocations: 16 kB / 1.065 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001001/1.065, allocations: 191.6 kB / 1.065 GB, free: 9.5 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-05/1.065, allocations: 20 kB / 1.065 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.553e-05/1.066, allocations: 32 kB / 1.065 GB, free: 9.449 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-05/1.066, allocations: 35.81 kB / 1.065 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.269e-05/1.066, allocations: 23.94 kB / 1.065 GB, free: 9.391 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003893/1.07, allocations: 2.996 MB / 1.068 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000846/1.07, allocations: 335.5 kB / 1.069 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002109/1.071, allocations: 39.98 kB / 1.069 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001404/1.072, allocations: 95.83 kB / 1.069 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001732/1.072, allocations: 107.5 kB / 1.069 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.778e-05/1.072, allocations: 40 kB / 1.069 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.00155/1.074, allocations: 0.7581 MB / 1.07 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.31e-07/1.074, allocations: 0 / 1.07 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.004481/1.078, allocations: 0.7266 MB / 1.07 GB, free: 3.648 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 70 * 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 (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006323/1.085, allocations: 8.317 MB / 1.079 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.005373/1.09, allocations: 2.496 MB / 1.081 GB, free: 8.363 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.579e-05/1.09, allocations: 4 kB / 1.081 GB, free: 8.359 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.00112/1.091, allocations: 0.5762 MB / 1.082 GB, free: 7.785 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002057/1.093, allocations: 224.4 kB / 1.082 GB, free: 7.566 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02932/1.123, allocations: 26.73 MB / 1.108 GB, free: 11.94 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002091/1.125, allocations: 2.057 MB / 1.11 GB, free: 9.852 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.002021/1.127, allocations: 0.8444 MB / 1.111 GB, free: 9.004 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009081/1.128, allocations: 0.7297 MB / 1.111 GB, free: 8.273 MB / 0.8731 GB Notification: Performance of SimCode: time 1.011e-06/1.128, allocations: 0 / 1.111 GB, free: 8.273 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04625/1.174, allocations: 28.34 MB / 1.139 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001844/1.174, allocations: 212 kB / 1.139 GB, free: 12 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.192/3.366, allocations: 0 / 1.139 GB, free: 12 MB / 0.9044 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource_res.mat does not exist to compare? outputFormat=mat