Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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.ACLine_L_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",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.0009431/0.0009429, allocations: 90.75 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.001168/0.001168, 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.401/1.401, allocations: 223.2 MB / 240 MB, free: 5.305 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.412/2.412, allocations: 390.4 MB / 0.6655 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003772/0.0003772, allocations: 12 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8391/0.8395, allocations: 142.3 MB / 0.9539 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03463/0.8742, allocations: 31.78 MB / 0.9849 GB, free: 56 kB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02068/0.8949, allocations: 10.91 MB / 0.9956 GB, free: 5.359 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006471/0.9015, allocations: 135.2 kB / 0.9957 GB, free: 5.227 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.004783/0.9063, allocations: 0.6821 MB / 0.9964 GB, free: 4.539 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.00851/0.9149, allocations: 1.574 MB / 0.9979 GB, free: 2.957 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.006333/0.9212, allocations: 1.433 MB / 0.9993 GB, free: 1.527 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.01473/0.936, allocations: 9.63 MB / 1.009 GB, free: 7.867 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02527/0.9613, allocations: 12.57 MB / 1.021 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006871/0.9682, allocations: 2.658 MB / 1.024 GB, free: 8.559 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007494/0.9758, allocations: 3.473 MB / 1.027 GB, free: 5.074 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.002064/0.9779, allocations: 328 kB / 1.027 GB, free: 4.754 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004689/0.9826, allocations: 0.9637 MB / 1.028 GB, free: 3.789 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.005577/0.9882, allocations: 2.451 MB / 1.031 GB, free: 1.332 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.003911/0.9921, allocations: 1.108 MB / 1.032 GB, free: 220 kB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.01467/1.007, allocations: 9.929 MB / 1.041 GB, free: 6.262 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/1.007, allocations: 0 / 1.041 GB, free: 6.262 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.234e-06/1.007, allocations: 0 / 1.041 GB, free: 6.262 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0004352/1.007, allocations: 0 / 1.041 GB, free: 6.262 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01336/1.021, allocations: 4.712 MB / 1.046 GB, free: 1.48 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.903e-05/1.021, allocations: 12.03 kB / 1.046 GB, free: 1.469 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003087/1.024, allocations: 0.8088 MB / 1.047 GB, free: 0.6484 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007327/1.031, allocations: 1.066 MB / 1.048 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008451/1.04, allocations: 3.192 MB / 1.051 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005493/1.04, allocations: 415.1 kB / 1.051 GB, free: 11.92 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002454/1.043, allocations: 0.535 MB / 1.052 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02396/1.067, allocations: 9.032 MB / 1.061 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003802/1.067, allocations: 35.62 kB / 1.061 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002361/1.07, allocations: 236 kB / 1.061 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006791/1.07, allocations: 346.8 kB / 1.061 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01833/1.089, allocations: 6.783 MB / 1.068 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05556/1.144, allocations: 40.17 MB / 1.107 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00442/1.149, allocations: 3.1 MB / 1.11 GB, free: 11.49 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002981/1.152, allocations: 1.95 MB / 1.112 GB, free: 9.539 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001644/1.152, allocations: 22 kB / 1.112 GB, free: 9.516 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.643e-05/1.152, allocations: 60.5 kB / 1.112 GB, free: 9.449 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=179): time 4.168e-06/1.152, allocations: 0 / 1.112 GB, free: 9.449 MB / 0.8731 GB Notification: Performance of matching and sorting (n=182): time 0.02758/1.18, allocations: 9.87 MB / 1.122 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.397e-05/1.18, allocations: 69.41 kB / 1.122 GB, free: 15.4 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002909/1.183, allocations: 1.514 MB / 1.123 GB, free: 13.84 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001967/1.183, allocations: 53.7 kB / 1.123 GB, free: 13.79 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.00171/1.185, allocations: 2.253 MB / 1.126 GB, free: 11.5 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007007/1.185, allocations: 0.6355 MB / 1.126 GB, free: 10.86 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001683/1.185, allocations: 48 kB / 1.126 GB, free: 10.81 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002119/1.186, allocations: 394.4 kB / 1.127 GB, free: 10.42 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001762/1.187, allocations: 1.168 MB / 1.128 GB, free: 9.246 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002265/1.19, allocations: 1.877 MB / 1.13 GB, free: 7.051 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002342/1.192, allocations: 1.513 MB / 1.131 GB, free: 5.539 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-05/1.192, allocations: 4 kB / 1.131 GB, free: 5.535 MB / 0.8887 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.00839/1.2, allocations: 4.558 MB / 1.136 GB, free: 0.9531 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 4.87e-05/1.201, allocations: 16 kB / 1.136 GB, free: 0.9375 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-05/1.201, allocations: 24.89 kB / 1.136 GB, free: 0.9141 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003866/1.205, allocations: 1.581 MB / 1.137 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001338/1.206, allocations: 351.4 kB / 1.137 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02395/1.23, allocations: 17.06 MB / 1.154 GB, free: 13.39 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002165/1.232, allocations: 119.9 kB / 1.154 GB, free: 13.27 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004693/1.233, allocations: 92 kB / 1.154 GB, free: 13.18 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (177): * Single equations (assignments): 173 * 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: 4 {(12,31.2%) 26,(6,66.7%) 24,(6,66.7%) 16,(6,66.7%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004657/1.237, allocations: 1.906 MB / 1.156 GB, free: 11.27 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007847/1.238, allocations: 225.3 kB / 1.156 GB, free: 11.04 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007968/1.246, allocations: 4.071 MB / 1.16 GB, free: 6.941 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.043e-05/1.246, allocations: 16 kB / 1.16 GB, free: 6.926 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.482e-05/1.246, allocations: 20 kB / 1.16 GB, free: 6.906 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.532e-05/1.246, allocations: 7.969 kB / 1.16 GB, free: 6.898 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01978/1.266, allocations: 9.45 MB / 1.17 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.451e-05/1.266, allocations: 4 kB / 1.17 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008731/1.267, allocations: 179.7 kB / 1.17 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003444/1.27, allocations: 1.353 MB / 1.171 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002296/1.271, allocations: 36 kB / 1.171 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02112/1.292, allocations: 15.95 MB / 1.187 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.23e-05/1.292, allocations: 11.94 kB / 1.187 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007739/1.3, allocations: 4.046 MB / 1.191 GB, free: 7 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001437/1.301, allocations: 0.5372 MB / 1.191 GB, free: 6.441 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006002/1.302, allocations: 35.98 kB / 1.191 GB, free: 6.406 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001251/1.303, allocations: 87.91 kB / 1.191 GB, free: 6.32 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005355/1.304, allocations: 165.6 kB / 1.191 GB, free: 6.156 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001146/1.304, allocations: 44 kB / 1.192 GB, free: 6.113 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001843/1.306, allocations: 0.989 MB / 1.193 GB, free: 5.102 MB / 0.9512 GB Notification: Performance of sort global known variables: time 3.51e-07/1.306, allocations: 4 kB / 1.193 GB, free: 5.098 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.003847/1.309, allocations: 0.9844 MB / 1.193 GB, free: 4.113 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (85): * Single equations (assignments): 81 * 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: 4 {(6,66.7%) 16,(6,66.7%) 16,(6,66.7%) 24,(6,66.7%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006943/1.316, allocations: 4.657 MB / 1.198 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.007417/1.324, allocations: 4.28 MB / 1.202 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.084e-05/1.324, allocations: 0 / 1.202 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.004638/1.329, allocations: 2.667 MB / 1.205 GB, free: 8.312 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004509/1.333, allocations: 0.7082 MB / 1.205 GB, free: 7.609 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04597/1.379, allocations: 22.86 MB / 1.228 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006393/1.386, allocations: 3.573 MB / 1.231 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001752/1.387, allocations: 463.9 kB / 1.232 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002514/1.39, allocations: 1.792 MB / 1.233 GB, free: 9.562 MB / 0.9981 GB Notification: Performance of SimCode: time 1.032e-06/1.39, allocations: 4 kB / 1.234 GB, free: 9.559 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7229/2.113, allocations: 70.52 MB / 1.302 GB, free: 254 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001863/2.113, allocations: 229.8 kB / 1.303 GB, free: 253.7 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.178/5.292, allocations: 0 / 1.303 GB, free: 253.7 MB / 1.014 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat does not exist to compare? outputFormat=mat