Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.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_RLC,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",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.001109/0.001109, allocations: 86.48 kB / 15.06 MB, free: 1.09 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.001459/0.001459, allocations: 168.7 kB / 15.95 MB, free: 204 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.416/1.416, allocations: 223.2 MB / 240 MB, free: 5.336 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.479/2.479, allocations: 390.4 MB / 0.6655 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003713/0.0003714, allocations: 16 kB / 0.8149 GB, free: 14.09 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8476/0.848, allocations: 142.3 MB / 0.9539 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.03842/0.8865, allocations: 34.25 MB / 0.9873 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.0228/0.9093, allocations: 12.43 MB / 0.9995 GB, free: 1.332 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005476/0.9149, allocations: 151.1 kB / 0.9996 GB, free: 1.184 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002924/0.9178, allocations: 0.7402 MB / 1 GB, free: 448 kB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.007709/0.9255, allocations: 2.064 MB / 1.002 GB, free: 14.36 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.00618/0.9317, allocations: 1.622 MB / 1.004 GB, free: 12.74 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01533/0.9471, allocations: 10.64 MB / 1.014 GB, free: 2.07 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02144/0.9686, allocations: 11.45 MB / 1.025 GB, free: 6.539 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007168/0.9758, allocations: 2.969 MB / 1.028 GB, free: 3.559 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008082/0.9839, allocations: 3.765 MB / 1.032 GB, free: 15.78 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.001828/0.9858, allocations: 316 kB / 1.032 GB, free: 15.47 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004313/0.9901, allocations: 0.7844 MB / 1.033 GB, free: 14.69 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.005357/0.9955, allocations: 2.447 MB / 1.036 GB, free: 12.23 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.004631/1, allocations: 1.175 MB / 1.037 GB, free: 11.05 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01769/1.018, allocations: 9.732 MB / 1.046 GB, free: 1.293 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 1.038e-05/1.018, allocations: 0 / 1.046 GB, free: 1.293 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.707e-06/1.018, allocations: 3.938 kB / 1.046 GB, free: 1.289 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0004575/1.018, allocations: 0 / 1.046 GB, free: 1.289 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: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.01634/1.035, allocations: 5.2 MB / 1.051 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.722e-05/1.035, allocations: 8.031 kB / 1.051 GB, free: 12.01 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003277/1.038, allocations: 0.7556 MB / 1.052 GB, free: 11.24 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009382/1.048, allocations: 1.296 MB / 1.053 GB, free: 9.938 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009373/1.057, allocations: 3.472 MB / 1.057 GB, free: 6.391 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005287/1.057, allocations: 382.1 kB / 1.057 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002417/1.06, allocations: 0.5037 MB / 1.058 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02541/1.085, allocations: 8.835 MB / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003303/1.086, allocations: 35.62 kB / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002133/1.088, allocations: 223.9 kB / 1.066 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002048/1.09, allocations: 0.6381 MB / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01708/1.107, allocations: 6.975 MB / 1.074 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06199/1.169, allocations: 40.41 MB / 1.113 GB, free: 8.793 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004847/1.174, allocations: 2.886 MB / 1.116 GB, free: 5.891 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004281/1.178, allocations: 2.655 MB / 1.119 GB, free: 3.227 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003386/1.179, allocations: 30.09 kB / 1.119 GB, free: 3.195 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.815e-05/1.179, allocations: 64.66 kB / 1.119 GB, free: 3.121 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=265): time 3.987e-06/1.179, allocations: 0 / 1.119 GB, free: 3.121 MB / 0.8731 GB Notification: Performance of matching and sorting (n=424): time 0.2781/1.457, allocations: 77.4 MB / 1.194 GB, free: 5.062 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.325e-05/1.457, allocations: 94.73 kB / 1.194 GB, free: 4.957 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003172/1.46, allocations: 2.328 MB / 1.197 GB, free: 2.617 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.000814/1.461, allocations: 97.7 kB / 1.197 GB, free: 2.516 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001499/1.462, allocations: 2.341 MB / 1.199 GB, free: 156 kB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.001933/1.464, allocations: 1.436 MB / 1.201 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006452/1.465, allocations: 88 kB / 1.201 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000291/1.465, allocations: 487.2 kB / 1.201 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004654/1.47, allocations: 2.987 MB / 1.204 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005544/1.476, allocations: 3.827 MB / 1.208 GB, free: 6.969 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006144/1.482, allocations: 3.552 MB / 1.211 GB, free: 3.41 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-05/1.482, allocations: 8 kB / 1.211 GB, free: 3.402 MB / 0.9669 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.0294/1.511, allocations: 12.49 MB / 1.223 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.225e-05/1.511, allocations: 12 kB / 1.223 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.089e-05/1.511, allocations: 24 kB / 1.223 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02114/1.533, allocations: 6.026 MB / 1.229 GB, free: 0.6836 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002282/1.535, allocations: 491.2 kB / 1.23 GB, free: 208 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7431/2.278, allocations: 67.18 MB / 1.295 GB, free: 247.7 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004147/2.282, allocations: 218 kB / 1.296 GB, free: 247.6 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009941/2.283, allocations: 154.7 kB / 1.296 GB, free: 247.6 MB / 1.014 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 (269): * Single equations (assignments): 245 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004621/2.288, allocations: 1.994 MB / 1.298 GB, free: 246.7 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001243/2.289, allocations: 389.9 kB / 1.298 GB, free: 246.7 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02653/2.316, allocations: 12.19 MB / 1.31 GB, free: 241.8 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.056e-05/2.316, allocations: 39.88 kB / 1.31 GB, free: 241.8 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001995/2.316, allocations: 53.81 kB / 1.31 GB, free: 241.8 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.361e-05/2.316, allocations: 21.64 kB / 1.31 GB, free: 241.8 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03514/2.351, allocations: 19.11 MB / 1.329 GB, free: 232.1 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.603e-05/2.351, allocations: 7.562 kB / 1.329 GB, free: 232.1 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001614/2.353, allocations: 293 kB / 1.329 GB, free: 232 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01784/2.371, allocations: 5.571 MB / 1.334 GB, free: 228.2 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008471/2.372, allocations: 83.98 kB / 1.335 GB, free: 228.1 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06028/2.432, allocations: 64.8 MB / 1.398 GB, free: 160.3 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.101e-05/2.432, allocations: 15.94 kB / 1.398 GB, free: 160.3 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.027/2.459, allocations: 15.56 MB / 1.413 GB, free: 144.5 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002704/2.462, allocations: 1.056 MB / 1.414 GB, free: 143.4 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009728/2.463, allocations: 80 kB / 1.414 GB, free: 143.3 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002434/2.465, allocations: 219.5 kB / 1.414 GB, free: 143.1 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001249/2.466, allocations: 394.3 kB / 1.415 GB, free: 142.7 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00027/2.467, allocations: 112 kB / 1.415 GB, free: 142.6 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001959/2.469, allocations: 1.537 MB / 1.416 GB, free: 141.1 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.8e-07/2.469, allocations: 4 kB / 1.416 GB, free: 141.1 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.006698/2.475, allocations: 1.859 MB / 1.418 GB, free: 139.2 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2]) * 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 (145): * Single equations (assignments): 121 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 15,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02609/2.501, allocations: 16.22 MB / 1.434 GB, free: 122.8 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.01789/2.519, allocations: 12.19 MB / 1.446 GB, free: 110.3 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.056e-05/2.519, allocations: 0 / 1.446 GB, free: 110.3 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.01246/2.532, allocations: 8.378 MB / 1.454 GB, free: 101.6 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005658/2.538, allocations: 1.111 MB / 1.455 GB, free: 100.5 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07124/2.609, allocations: 42.76 MB / 1.497 GB, free: 55.64 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005829/2.615, allocations: 4.088 MB / 1.501 GB, free: 51.52 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002763/2.618, allocations: 0.6708 MB / 1.502 GB, free: 50.85 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002309/2.62, allocations: 2.132 MB / 1.504 GB, free: 48.71 MB / 1.014 GB Notification: Performance of SimCode: time 1.032e-06/2.62, allocations: 0 / 1.504 GB, free: 48.71 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1999/2.82, allocations: 143.8 MB / 1.644 GB, free: 2.164 MB / 1.107 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001724/2.82, allocations: 230.8 kB / 1.644 GB, free: 1.922 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.307/8.127, allocations: 0 / 1.644 GB, free: 1.922 MB / 1.107 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_res.mat does not exist to compare? outputFormat=mat