Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.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.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid",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.0008151/0.0008151, allocations: 92.31 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.0009385/0.0009386, 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.434/1.434, allocations: 223.3 MB / 240 MB, free: 5.215 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.686/2.686, allocations: 390.4 MB / 0.6655 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003379/0.0003379, allocations: 8 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8403/0.8406, allocations: 142.3 MB / 0.9539 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.01092/0.8516, allocations: 10.7 MB / 0.9643 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.009929/0.8615, allocations: 5.006 MB / 0.9692 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001623/0.8632, allocations: 31.69 kB / 0.9692 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001276/0.8645, allocations: 290.8 kB / 0.9695 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001946/0.8665, allocations: 0.5025 MB / 0.97 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00185/0.8683, allocations: 466.5 kB / 0.9704 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003491/0.8718, allocations: 2.797 MB / 0.9732 GB, free: 9.434 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006025/0.8779, allocations: 3.625 MB / 0.9767 GB, free: 7.547 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00189/0.8798, allocations: 0.7275 MB / 0.9774 GB, free: 7.18 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002159/0.882, allocations: 1.011 MB / 0.9784 GB, free: 6.621 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0005485/0.8825, allocations: 93.59 kB / 0.9785 GB, free: 6.621 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001478/0.884, allocations: 304.8 kB / 0.9788 GB, free: 6.52 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001155/0.8852, allocations: 0.7209 MB / 0.9795 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0005962/0.8858, allocations: 345 kB / 0.9798 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003185/0.889, allocations: 3.031 MB / 0.9828 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.889, allocations: 0 / 0.9828 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.546e-06/0.889, allocations: 0 / 0.9828 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.709e-05/0.8891, allocations: 4 kB / 0.9828 GB, free: 2.406 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.003664/0.8928, allocations: 1.64 MB / 0.9844 GB, free: 0.7109 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/0.8929, allocations: 8.031 kB / 0.9844 GB, free: 0.7031 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004023/0.8933, allocations: 252.2 kB / 0.9846 GB, free: 456 kB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002235/0.8955, allocations: 477.5 kB / 0.9851 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002255/0.8978, allocations: 1.135 MB / 0.9862 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.418e-05/0.8979, allocations: 119.1 kB / 0.9863 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002785/0.8982, allocations: 148 kB / 0.9865 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00467/0.9029, allocations: 2.739 MB / 0.9891 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.207e-05/0.9029, allocations: 7.938 kB / 0.9891 GB, free: 11.72 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001859/0.9031, allocations: 67.98 kB / 0.9892 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003472/0.9035, allocations: 178.9 kB / 0.9894 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003799/0.9073, allocations: 2.28 MB / 0.9916 GB, free: 9.195 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01222/0.9195, allocations: 10.54 MB / 1.002 GB, free: 13.77 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009545/0.9205, allocations: 0.5879 MB / 1.002 GB, free: 13.17 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005883/0.9211, allocations: 385.2 kB / 1.003 GB, free: 12.79 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001113/0.9213, allocations: 89.11 kB / 1.003 GB, free: 12.68 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.9213, allocations: 50.48 kB / 1.003 GB, free: 12.62 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=36): time 1.703e-06/0.9213, allocations: 0 / 1.003 GB, free: 12.62 MB / 0.7637 GB Notification: Performance of matching and sorting (n=52): time 0.01866/0.94, allocations: 6.263 MB / 1.009 GB, free: 6.297 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.166e-05/0.9401, allocations: 89.53 kB / 1.009 GB, free: 6.191 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001311/0.9414, allocations: 0.8945 MB / 1.01 GB, free: 5.289 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0001011/0.9415, allocations: 33.7 kB / 1.01 GB, free: 5.25 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004834/0.942, allocations: 0.7538 MB / 1.011 GB, free: 4.484 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.000212/0.9422, allocations: 185.4 kB / 1.011 GB, free: 4.301 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.917e-05/0.9423, allocations: 16 kB / 1.011 GB, free: 4.285 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001647/0.9425, allocations: 394.7 kB / 1.011 GB, free: 3.891 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001044/0.9435, allocations: 0.6421 MB / 1.012 GB, free: 3.246 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001192/0.9447, allocations: 1.007 MB / 1.013 GB, free: 2.07 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001203/0.9459, allocations: 0.814 MB / 1.014 GB, free: 1.258 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.406e-06/0.946, allocations: 7.938 kB / 1.014 GB, free: 1.25 MB / 0.7637 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.008366/0.9543, allocations: 3.202 MB / 1.017 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003613/0.9547, allocations: 436.7 kB / 1.017 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.908e-05/0.9548, allocations: 12 kB / 1.017 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007139/0.9619, allocations: 1.856 MB / 1.019 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009708/0.9629, allocations: 223.6 kB / 1.019 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01392/0.9769, allocations: 10.22 MB / 1.029 GB, free: 0.5859 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001295/0.9782, allocations: 171.6 kB / 1.03 GB, free: 428 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001569/0.9784, allocations: 47.98 kB / 1.03 GB, free: 380 kB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.9784, allocations: 4 kB / 1.03 GB, free: 376 kB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006612/0.985, allocations: 2.618 MB / 1.032 GB, free: 13.74 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.962e-05/0.9851, allocations: 19.97 kB / 1.032 GB, free: 13.72 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004545/0.9896, allocations: 1.199 MB / 1.033 GB, free: 12.51 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000924/0.9905, allocations: 255.5 kB / 1.034 GB, free: 12.26 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007189/0.9977, allocations: 5.543 MB / 1.039 GB, free: 6.453 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001162/0.9989, allocations: 151.7 kB / 1.039 GB, free: 6.305 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001856/0.9991, allocations: 47.98 kB / 1.039 GB, free: 6.258 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (99): * Single equations (assignments): 95 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.001455/1.001, allocations: 0.8284 MB / 1.04 GB, free: 5.418 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002076/1.001, allocations: 83.06 kB / 1.04 GB, free: 5.336 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007291/1.008, allocations: 2.684 MB / 1.043 GB, free: 2.625 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/1.008, allocations: 4 kB / 1.043 GB, free: 2.621 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/1.008, allocations: 8.141 kB / 1.043 GB, free: 2.613 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/1.008, allocations: 3.984 kB / 1.043 GB, free: 2.609 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01031/1.018, allocations: 4.628 MB / 1.047 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.418e-05/1.019, allocations: 12.03 kB / 1.047 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004599/1.019, allocations: 99.8 kB / 1.047 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006424/1.025, allocations: 1.708 MB / 1.049 GB, free: 12.03 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001117/1.026, allocations: 8 kB / 1.049 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01215/1.038, allocations: 9.765 MB / 1.059 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/1.038, allocations: 7.922 kB / 1.059 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007132/1.045, allocations: 2.648 MB / 1.061 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005571/1.046, allocations: 284.1 kB / 1.061 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002157/1.046, allocations: 15.95 kB / 1.061 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008096/1.047, allocations: 131.8 kB / 1.062 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002118/1.047, allocations: 47.88 kB / 1.062 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.798e-05/1.047, allocations: 16 kB / 1.062 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0009911/1.048, allocations: 0.6356 MB / 1.062 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.6e-07/1.048, allocations: 0 / 1.062 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.002402/1.05, allocations: 0.5977 MB / 1.063 GB, free: 13.28 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (42): * Single equations (assignments): 38 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.007488/1.058, allocations: 3.236 MB / 1.066 GB, free: 9.969 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.005236/1.063, allocations: 3.239 MB / 1.069 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.241e-06/1.063, allocations: 4.188 kB / 1.069 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001839/1.065, allocations: 1.275 MB / 1.07 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001293/1.066, allocations: 234.4 kB / 1.071 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02138/1.088, allocations: 9.839 MB / 1.08 GB, free: 11 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001955/1.09, allocations: 1.622 MB / 1.082 GB, free: 9.348 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001315/1.091, allocations: 494.3 kB / 1.082 GB, free: 8.859 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007028/1.092, allocations: 487.3 kB / 1.083 GB, free: 8.383 MB / 0.8419 GB Notification: Performance of SimCode: time 6.41e-07/1.092, allocations: 3.938 kB / 1.083 GB, free: 8.379 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08518/1.177, allocations: 34.53 MB / 1.116 GB, free: 6.223 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003251/1.177, allocations: 244.8 kB / 1.117 GB, free: 5.945 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.282/3.459, allocations: 0 / 1.117 GB, free: 5.945 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_res.mat does not exist to compare? outputFormat=mat