Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.464/2.464, allocations: 390.3 MB / 405.3 MB, free: 13.51 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001603/0.001603, allocations: 177.1 kB / 498.1 MB, free: 5.754 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.663/1.663, allocations: 223.2 MB / 0.7948 GB, free: 17.9 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008963/0.0008963, allocations: 101.3 kB / 0.9346 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004038/0.000404, allocations: 13.25 kB / 1.084 GB, free: 221.6 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2885/0.2889, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.804/1.093, allocations: 218.7 MB / 1.436 GB, free: 203.9 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004275/1.093, allocations: 102 kB / 1.437 GB, free: 203.9 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.271/1.364, allocations: 124.3 MB / 1.558 GB, free: 92.79 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.355e-06/1.365, allocations: 0 / 1.558 GB, free: 92.79 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001854/1.365, allocations: 39.98 kB / 1.558 GB, free: 92.75 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.0053/1.37, allocations: 1.835 MB / 1.56 GB, free: 90.86 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/1.37, allocations: 8.031 kB / 1.56 GB, free: 90.86 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006805/1.371, allocations: 206.1 kB / 1.56 GB, free: 90.64 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01039/1.381, allocations: 1.882 MB / 1.562 GB, free: 88.76 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003437/1.385, allocations: 1.216 MB / 1.563 GB, free: 87.48 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.558e-05/1.385, allocations: 90.36 kB / 1.563 GB, free: 87.39 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005115/1.385, allocations: 116 kB / 1.563 GB, free: 87.28 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006209/1.391, allocations: 2.739 MB / 1.566 GB, free: 84.36 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.565e-05/1.392, allocations: 15.8 kB / 1.566 GB, free: 84.34 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002929/1.392, allocations: 55.98 kB / 1.566 GB, free: 84.29 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001107/1.392, allocations: 90.28 kB / 1.566 GB, free: 84.2 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007176/1.399, allocations: 2.846 MB / 1.569 GB, free: 81.34 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01486/1.414, allocations: 10.72 MB / 1.579 GB, free: 70.04 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005919/1.42, allocations: 2.584 MB / 1.582 GB, free: 67.4 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 8.17e-05/1.42, allocations: 20.98 kB / 1.582 GB, free: 67.38 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/1.42, allocations: 51.55 kB / 1.582 GB, free: 67.32 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=89): time 3.076e-06/1.42, allocations: 0 / 1.582 GB, free: 67.32 MB / 0.9167 GB Notification: Performance of matching and sorting (n=131): time 0.04405/1.464, allocations: 13.99 MB / 1.596 GB, free: 53.11 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.771e-05/1.464, allocations: 226.9 kB / 1.596 GB, free: 52.84 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001665/1.466, allocations: 0.9658 MB / 1.597 GB, free: 51.86 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002057/1.466, allocations: 53.7 kB / 1.597 GB, free: 51.8 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004261/1.467, allocations: 0.7157 MB / 1.597 GB, free: 51.08 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004093/1.467, allocations: 449.4 kB / 1.598 GB, free: 50.64 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000126/1.467, allocations: 28 kB / 1.598 GB, free: 50.61 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.772e-05/1.467, allocations: 357.9 kB / 1.598 GB, free: 50.25 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002879/1.47, allocations: 1.369 MB / 1.6 GB, free: 48.89 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002952/1.473, allocations: 1.634 MB / 1.601 GB, free: 47.15 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002937/1.476, allocations: 1.462 MB / 1.603 GB, free: 45.69 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/1.476, allocations: 4 kB / 1.603 GB, free: 45.68 MB / 0.9167 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.01068/1.487, allocations: 4.552 MB / 1.607 GB, free: 41.08 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.04e-05/1.487, allocations: 9.406 kB / 1.607 GB, free: 41.07 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/1.487, allocations: 8.047 kB / 1.607 GB, free: 41.06 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006117/1.493, allocations: 1.622 MB / 1.609 GB, free: 39.4 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001887/1.495, allocations: 439.3 kB / 1.609 GB, free: 38.97 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02147/1.516, allocations: 25.33 MB / 1.634 GB, free: 11.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002717/1.519, allocations: 319.5 kB / 1.634 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003259/1.52, allocations: 63.97 kB / 1.634 GB, free: 11.52 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (95): * Single equations (assignments): 82 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 9,(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4,(3,100.0%) 9,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001223/1.521, allocations: 445.4 kB / 1.635 GB, free: 11.08 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004966/1.521, allocations: 162 kB / 1.635 GB, free: 10.92 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0114/1.533, allocations: 4.582 MB / 1.639 GB, free: 6.281 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.455e-05/1.533, allocations: 19.95 kB / 1.639 GB, free: 6.262 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.224e-05/1.533, allocations: 16 kB / 1.639 GB, free: 6.246 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.281e-05/1.533, allocations: 3.984 kB / 1.639 GB, free: 6.242 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01555/1.548, allocations: 7.02 MB / 1.646 GB, free: 15.06 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.465e-05/1.548, allocations: 4.344 kB / 1.646 GB, free: 15.06 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0018/1.55, allocations: 395.3 kB / 1.646 GB, free: 14.67 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006269/1.557, allocations: 1.509 MB / 1.648 GB, free: 13.12 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002231/1.557, allocations: 43.97 kB / 1.648 GB, free: 13.08 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02478/1.582, allocations: 24.36 MB / 1.672 GB, free: 2.984 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/1.582, allocations: 3.938 kB / 1.672 GB, free: 2.98 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01357/1.595, allocations: 4.509 MB / 1.676 GB, free: 14.29 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001532/1.597, allocations: 467.3 kB / 1.677 GB, free: 13.82 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005601/1.597, allocations: 31.98 kB / 1.677 GB, free: 13.79 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002412/1.6, allocations: 319.5 kB / 1.677 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005066/1.6, allocations: 132.7 kB / 1.677 GB, free: 13.34 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001671/1.601, allocations: 55.91 kB / 1.677 GB, free: 13.29 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001454/1.602, allocations: 0.7487 MB / 1.678 GB, free: 12.54 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.31e-07/1.602, allocations: 0 / 1.678 GB, free: 12.54 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.003449/1.605, allocations: 0.6093 MB / 1.678 GB, free: 11.93 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 7,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(3,100.0%) 9,(3,100.0%) 7,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01249/1.618, allocations: 5.867 MB / 1.684 GB, free: 5.91 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.01102/1.629, allocations: 5.173 MB / 1.689 GB, free: 0.5703 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.219e-05/1.629, allocations: 3.906 kB / 1.689 GB, free: 0.5664 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.007016/1.636, allocations: 3.554 MB / 1.693 GB, free: 12.84 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002737/1.639, allocations: 496.8 kB / 1.693 GB, free: 12.36 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03556/1.674, allocations: 18.45 MB / 1.711 GB, free: 9.395 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001749/1.676, allocations: 1.509 MB / 1.713 GB, free: 7.855 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.002119/1.678, allocations: 425.4 kB / 1.713 GB, free: 7.434 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001104/1.679, allocations: 0.6281 MB / 1.714 GB, free: 6.805 MB / 0.9948 GB Notification: Performance of SimCode: time 1.603e-06/1.679, allocations: 4 kB / 1.714 GB, free: 6.801 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0938/1.773, allocations: 51.29 MB / 1.764 GB, free: 4.133 MB / 1.042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000279/1.774, allocations: 220.4 kB / 1.764 GB, free: 3.887 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.516/5.289, allocations: 4.438 kB / 1.764 GB, free: 3.883 MB / 1.042 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat does not exist to compare? outputFormat=mat