Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_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_RLC_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_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.001352/0.001352, allocations: 99.62 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.001707/0.001707, 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.461/1.461, allocations: 223.2 MB / 239.9 MB, free: 5.461 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.513/2.513, allocations: 390.3 MB / 0.6653 GB, free: 3.023 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003765/0.0003768, allocations: 8 kB / 0.8146 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8495/0.8499, allocations: 142.3 MB / 0.9536 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.03942/0.8894, allocations: 35.75 MB / 0.9885 GB, free: 12.33 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02605/0.9155, allocations: 14.52 MB / 1.003 GB, free: 13.78 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00764/0.9232, allocations: 151 kB / 1.003 GB, free: 13.63 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.00447/0.9277, allocations: 0.8423 MB / 1.004 GB, free: 12.79 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.00937/0.9371, allocations: 2.115 MB / 1.006 GB, free: 10.66 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.007405/0.9446, allocations: 1.932 MB / 1.008 GB, free: 8.734 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01196/0.9566, allocations: 5.714 MB / 1.013 GB, free: 3.008 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02337/0.98, allocations: 13.97 MB / 1.027 GB, free: 4.949 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008214/0.9882, allocations: 3.165 MB / 1.03 GB, free: 1.773 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007748/0.996, allocations: 3.298 MB / 1.033 GB, free: 14.46 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.002415/0.9985, allocations: 403.9 kB / 1.034 GB, free: 14.07 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004283/1.003, allocations: 0.7687 MB / 1.034 GB, free: 13.3 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.005362/1.008, allocations: 2.744 MB / 1.037 GB, free: 10.55 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.003955/1.012, allocations: 1.385 MB / 1.038 GB, free: 9.156 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0147/1.027, allocations: 11.59 MB / 1.05 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/1.027, allocations: 0 / 1.05 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.843e-06/1.027, allocations: 4 kB / 1.05 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0004783/1.027, allocations: 0 / 1.05 GB, free: 13.53 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.01818/1.046, allocations: 6.185 MB / 1.056 GB, free: 7.266 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.873e-05/1.046, allocations: 8.031 kB / 1.056 GB, free: 7.258 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004275/1.05, allocations: 0.8954 MB / 1.057 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01118/1.061, allocations: 1.51 MB / 1.058 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01189/1.073, allocations: 4.097 MB / 1.062 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005367/1.074, allocations: 456.1 kB / 1.062 GB, free: 216 kB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00302/1.077, allocations: 0.6013 MB / 1.063 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02566/1.102, allocations: 10.58 MB / 1.073 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004069/1.103, allocations: 27.77 kB / 1.073 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002538/1.105, allocations: 267.9 kB / 1.074 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003159/1.109, allocations: 0.7768 MB / 1.074 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02249/1.131, allocations: 8.51 MB / 1.083 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06993/1.201, allocations: 46.99 MB / 1.129 GB, free: 8.289 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007637/1.209, allocations: 4.3 MB / 1.133 GB, free: 3.98 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005524/1.209, allocations: 42.77 kB / 1.133 GB, free: 3.938 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.812e-05/1.209, allocations: 69.34 kB / 1.133 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=353): time 6.622e-06/1.209, allocations: 4 kB / 1.133 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of matching and sorting (n=578): time 0.525/1.734, allocations: 127.9 MB / 1.258 GB, free: 3.094 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001307/1.735, allocations: 111.9 kB / 1.258 GB, free: 2.969 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004796/1.739, allocations: 2.646 MB / 1.261 GB, free: 332 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.001336/1.741, allocations: 125.7 kB / 1.261 GB, free: 200 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.6152/2.356, allocations: 2.676 MB / 1.263 GB, free: 277.4 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.002963/2.359, allocations: 1.949 MB / 1.265 GB, free: 275.9 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005658/2.36, allocations: 114.1 kB / 1.265 GB, free: 275.8 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0003697/2.36, allocations: 0.5262 MB / 1.266 GB, free: 275.4 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007205/2.367, allocations: 4.061 MB / 1.27 GB, free: 273.7 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009122/2.376, allocations: 4.973 MB / 1.275 GB, free: 271 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009425/2.386, allocations: 4.825 MB / 1.279 GB, free: 268.8 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.933e-05/2.386, allocations: 5.406 kB / 1.279 GB, free: 268.8 MB / 1.014 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04203/2.428, allocations: 16.92 MB / 1.296 GB, free: 262.2 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.176e-05/2.428, allocations: 16.56 kB / 1.296 GB, free: 262.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.689e-05/2.428, allocations: 19.66 kB / 1.296 GB, free: 262.2 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03201/2.46, allocations: 9.057 MB / 1.305 GB, free: 259.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002513/2.463, allocations: 0.5253 MB / 1.305 GB, free: 259 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08515/2.548, allocations: 73.69 MB / 1.377 GB, free: 187.4 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004749/2.553, allocations: 279.8 kB / 1.377 GB, free: 187.1 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000747/2.553, allocations: 188 kB / 1.378 GB, free: 186.9 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 (274): * Single equations (assignments): 263 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(5,84.0%) 17,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(14,51.0%) 72,(14,51.0%) 72,(6,77.8%) 40,(7,71.4%) 71,(8,70.3%) 70,(6,77.8%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003977/2.557, allocations: 2.422 MB / 1.38 GB, free: 184.5 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009799/2.558, allocations: 478.4 kB / 1.38 GB, free: 184 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03256/2.591, allocations: 16.75 MB / 1.397 GB, free: 167.1 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.204e-05/2.591, allocations: 59.95 kB / 1.397 GB, free: 167 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001862/2.591, allocations: 72 kB / 1.397 GB, free: 167 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.948e-05/2.591, allocations: 27.89 kB / 1.397 GB, free: 166.9 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04672/2.638, allocations: 25.62 MB / 1.422 GB, free: 141.1 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.284e-05/2.638, allocations: 12.12 kB / 1.422 GB, free: 141.1 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001762/2.64, allocations: 319.5 kB / 1.422 GB, free: 140.8 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0262/2.666, allocations: 8.257 MB / 1.43 GB, free: 132.5 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001155/2.667, allocations: 111.9 kB / 1.43 GB, free: 132.4 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07985/2.747, allocations: 70.52 MB / 1.499 GB, free: 60.4 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/2.747, allocations: 11.94 kB / 1.499 GB, free: 60.39 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03696/2.784, allocations: 22.18 MB / 1.521 GB, free: 37.67 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00357/2.788, allocations: 1.366 MB / 1.522 GB, free: 36.29 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001168/2.789, allocations: 108 kB / 1.522 GB, free: 36.18 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003485/2.793, allocations: 291.6 kB / 1.523 GB, free: 35.89 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001943/2.794, allocations: 0.5221 MB / 1.523 GB, free: 35.37 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004739/2.795, allocations: 140 kB / 1.523 GB, free: 35.23 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002579/2.798, allocations: 1.753 MB / 1.525 GB, free: 33.49 MB / 1.014 GB Notification: Performance of sort global known variables: time 8.81e-07/2.798, allocations: 0 / 1.525 GB, free: 33.49 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.008932/2.807, allocations: 2.461 MB / 1.527 GB, free: 31.03 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (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],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.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 (142): * Single equations (assignments): 131 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(6,77.8%) 40,(8,70.3%) 70,(14,51.0%) 72,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(5,84.0%) 17,(6,83.3%) 40,(8,70.3%) 70,(14,51.0%) 72} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0392/2.846, allocations: 24.59 MB / 1.552 GB, free: 5.957 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.02826/2.874, allocations: 14.48 MB / 1.566 GB, free: 7.289 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.424e-05/2.874, allocations: 0 / 1.566 GB, free: 7.289 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.01963/2.894, allocations: 9.384 MB / 1.575 GB, free: 13.74 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008556/2.902, allocations: 1.19 MB / 1.576 GB, free: 12.57 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.123/3.025, allocations: 70.82 MB / 1.645 GB, free: 3.512 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009773/3.035, allocations: 5.014 MB / 1.65 GB, free: 14.45 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.004033/3.039, allocations: 0.7371 MB / 1.651 GB, free: 13.71 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004164/3.043, allocations: 2.607 MB / 1.653 GB, free: 11.11 MB / 1.123 GB Notification: Performance of SimCode: time 1.172e-06/3.044, allocations: 0 / 1.653 GB, free: 11.11 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7991/3.843, allocations: 185.8 MB / 1.835 GB, free: 282.5 MB / 1.154 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001373/3.843, allocations: 227.3 kB / 1.835 GB, free: 282.3 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.981/10.82, allocations: 0 / 1.835 GB, free: 282.3 MB / 1.154 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat does not exist to compare? outputFormat=mat