Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.339/2.339, allocations: 390.3 MB / 402.8 MB, free: 6.699 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.001066/0.001066, allocations: 176.8 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.626/1.626, allocations: 221.3 MB / 0.7915 GB, free: 5.477 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.00101/0.00101, allocations: 95.94 kB / 0.9318 GB, free: 5.793 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.653e-05/3.665e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2667/0.2668, allocations: 143 MB / 1.219 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9481/1.215, allocations: 183.9 MB / 1.398 GB, free: 3.898 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002905/1.215, allocations: 94.09 kB / 1.399 GB, free: 3.848 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.545/1.76, allocations: 213.8 MB / 1.607 GB, free: 2.273 MB / 1.057 GB Notification: Performance of FrontEnd: time 3.006e-06/1.76, allocations: 0 / 1.607 GB, free: 2.273 MB / 1.057 GB Notification: Performance of Transformations before backend: time 0.0006669/1.761, allocations: 144 kB / 1.607 GB, free: 2.133 MB / 1.057 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.02106/1.782, allocations: 4.875 MB / 1.612 GB, free: 13.2 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 8.031e-05/1.782, allocations: 8.031 kB / 1.612 GB, free: 13.19 MB / 1.073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007141/1.789, allocations: 0.8292 MB / 1.613 GB, free: 12.35 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009152/1.799, allocations: 1.136 MB / 1.614 GB, free: 11.2 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0118/1.81, allocations: 3.681 MB / 1.618 GB, free: 7.469 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005625/1.811, allocations: 431.6 kB / 1.618 GB, free: 7.047 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002698/1.814, allocations: 0.5468 MB / 1.619 GB, free: 6.5 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02786/1.842, allocations: 8.727 MB / 1.627 GB, free: 13.34 MB / 1.089 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003256/1.842, allocations: 19.88 kB / 1.627 GB, free: 13.32 MB / 1.089 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002506/1.845, allocations: 260 kB / 1.627 GB, free: 13.06 MB / 1.089 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004052/1.845, allocations: 303 kB / 1.628 GB, free: 12.77 MB / 1.089 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01661/1.862, allocations: 6.321 MB / 1.634 GB, free: 6.438 MB / 1.089 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06198/1.924, allocations: 41.47 MB / 1.674 GB, free: 9.223 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004867/1.929, allocations: 3.08 MB / 1.677 GB, free: 6.133 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003114/1.932, allocations: 2.122 MB / 1.679 GB, free: 4.012 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001228/1.932, allocations: 26 kB / 1.679 GB, free: 3.984 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.631e-05/1.932, allocations: 64.56 kB / 1.68 GB, free: 3.914 MB / 1.135 GB Notification: Performance of pre-optimization done (n=209): time 3.727e-06/1.932, allocations: 0 / 1.68 GB, free: 3.914 MB / 1.135 GB Notification: Performance of matching and sorting (n=212): time 0.01279/1.945, allocations: 6.584 MB / 1.686 GB, free: 13.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.172e-05/1.945, allocations: 77.36 kB / 1.686 GB, free: 13.21 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002702/1.948, allocations: 1.649 MB / 1.688 GB, free: 11.54 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0003438/1.948, allocations: 61.7 kB / 1.688 GB, free: 11.48 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001676/1.95, allocations: 2.369 MB / 1.69 GB, free: 9.074 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008881/1.95, allocations: 0.7357 MB / 1.691 GB, free: 8.328 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001412/1.951, allocations: 48 kB / 1.691 GB, free: 8.281 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0002116/1.951, allocations: 407.2 kB / 1.691 GB, free: 7.879 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001999/1.953, allocations: 1.294 MB / 1.692 GB, free: 6.582 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002479/1.955, allocations: 2.078 MB / 1.694 GB, free: 4.152 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002332/1.958, allocations: 1.669 MB / 1.696 GB, free: 2.48 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.349e-05/1.958, allocations: 8 kB / 1.696 GB, free: 2.473 MB / 1.151 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.7865/2.744, allocations: 4.928 MB / 1.701 GB, free: 280.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 4.893e-05/2.744, allocations: 16.66 kB / 1.701 GB, free: 280.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.635e-05/2.744, allocations: 25.03 kB / 1.701 GB, free: 280.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003734/2.748, allocations: 1.526 MB / 1.702 GB, free: 280.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001868/2.75, allocations: 442.8 kB / 1.703 GB, free: 280.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02153/2.772, allocations: 16.94 MB / 1.719 GB, free: 275.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002614/2.774, allocations: 155.1 kB / 1.72 GB, free: 275.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002317/2.774, allocations: 107 kB / 1.72 GB, free: 275.8 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 113 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (219): * Single equations (assignments): 215 * 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,72.2%) 32,(6,66.7%) 24,(4,100.0%) 18,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004868/2.775, allocations: 258.4 kB / 1.72 GB, free: 275.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004399/2.775, allocations: 292.8 kB / 1.72 GB, free: 275.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00787/2.783, allocations: 4.405 MB / 1.725 GB, free: 275.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-05/2.783, allocations: 20.41 kB / 1.725 GB, free: 275.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.657e-05/2.783, allocations: 20.92 kB / 1.725 GB, free: 275.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.583e-05/2.783, allocations: 13.3 kB / 1.725 GB, free: 275.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01915/2.802, allocations: 9.606 MB / 1.734 GB, free: 274.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.766e-05/2.803, allocations: 3.812 kB / 1.734 GB, free: 274.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001832/2.804, allocations: 238 kB / 1.734 GB, free: 274.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005999/2.81, allocations: 1.39 MB / 1.736 GB, free: 274.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002521/2.811, allocations: 43.52 kB / 1.736 GB, free: 274.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03749/2.848, allocations: 16.97 MB / 1.752 GB, free: 269.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.075e-05/2.848, allocations: 4.219 kB / 1.752 GB, free: 269.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01357/2.862, allocations: 4.836 MB / 1.757 GB, free: 268.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003281/2.865, allocations: 0.6311 MB / 1.757 GB, free: 268.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001114/2.866, allocations: 41.59 kB / 1.758 GB, free: 268.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002978/2.869, allocations: 119.6 kB / 1.758 GB, free: 268.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009318/2.87, allocations: 181.6 kB / 1.758 GB, free: 268.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000263/2.871, allocations: 58.12 kB / 1.758 GB, free: 268.5 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.003763/2.874, allocations: 1.237 MB / 1.759 GB, free: 268.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 4.9e-07/2.874, allocations: 1.344 kB / 1.759 GB, free: 268.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.007763/2.882, allocations: 1.174 MB / 1.76 GB, free: 268.4 MB / 1.151 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 103 * 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 {(4,100.0%) 18,(6,66.7%) 24,(6,66.7%) 32,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01246/2.895, allocations: 6.559 MB / 1.767 GB, free: 265.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.01172/2.906, allocations: 4.531 MB / 1.771 GB, free: 265.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.497e-05/2.907, allocations: 3.375 kB / 1.771 GB, free: 265.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.007751/2.914, allocations: 2.867 MB / 1.774 GB, free: 264.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006958/2.921, allocations: 0.7609 MB / 1.775 GB, free: 264.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03265/2.954, allocations: 8.893 MB / 1.783 GB, free: 261.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01058/2.965, allocations: 3.782 MB / 1.787 GB, free: 259.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.005163/2.97, allocations: 0.5421 MB / 1.788 GB, free: 259.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004604/2.975, allocations: 1.947 MB / 1.789 GB, free: 258.1 MB / 1.151 GB Notification: Performance of SimCode: time 1.794e-06/2.975, allocations: 0 / 1.789 GB, free: 258.1 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.212/3.187, allocations: 81.73 MB / 1.869 GB, free: 255.4 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002765/3.187, allocations: 212.8 kB / 1.869 GB, free: 255.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.636/7.823, allocations: 0 / 1.869 GB, free: 255.2 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat does not exist to compare? outputFormat=mat