Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_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.382/2.382, allocations: 390.5 MB / 398 MB, free: 10.95 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.001114/0.001114, allocations: 176.4 kB / 491.2 MB, free: 1.586 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.567/1.567, allocations: 221.5 MB / 0.7868 GB, free: 13.37 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.0009869/0.0009869, allocations: 95.84 kB / 0.9269 GB, free: 13.86 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.969e-05/2.973e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.308/0.3081, allocations: 143 MB / 1.212 GB, free: 39.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1/1.309, allocations: 179.9 MB / 1.388 GB, free: 15.8 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003386/1.309, allocations: 89.31 kB / 1.388 GB, free: 15.79 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2186/1.528, allocations: 76.51 MB / 1.463 GB, free: 2.484 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.394e-06/1.528, allocations: 0 / 1.463 GB, free: 2.484 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001125/1.528, allocations: 40 kB / 1.463 GB, free: 2.445 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.004068/1.532, allocations: 1.616 MB / 1.465 GB, free: 0.8867 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.351e-05/1.532, allocations: 12.03 kB / 1.465 GB, free: 0.875 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00322/1.535, allocations: 492.9 kB / 1.465 GB, free: 404 kB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002753/1.538, allocations: 1.288 MB / 1.466 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.127e-05/1.538, allocations: 48 kB / 1.466 GB, free: 15.3 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002961/1.538, allocations: 91.92 kB / 1.466 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00393/1.542, allocations: 2.267 MB / 1.469 GB, free: 13.75 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004703/1.547, allocations: 2.894 MB / 1.471 GB, free: 11.53 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.119e-05/1.547, allocations: 0 / 1.471 GB, free: 11.53 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001793/1.547, allocations: 4 kB / 1.471 GB, free: 11.52 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007038/1.548, allocations: 179.2 kB / 1.472 GB, free: 11.37 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0244/1.572, allocations: 14.49 MB / 1.486 GB, free: 14.44 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00275/1.575, allocations: 1.755 MB / 1.488 GB, free: 12.67 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002101/1.577, allocations: 1.497 MB / 1.489 GB, free: 11.18 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 7.342e-05/1.577, allocations: 17.28 kB / 1.489 GB, free: 11.16 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.508e-05/1.577, allocations: 51.81 kB / 1.489 GB, free: 11.1 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=104): time 4.699e-06/1.578, allocations: 0 / 1.489 GB, free: 11.1 MB / 0.9011 GB Notification: Performance of matching and sorting (n=183): time 0.04211/1.62, allocations: 14.28 MB / 1.503 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.573e-05/1.62, allocations: 69.41 kB / 1.503 GB, free: 12.73 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001686/1.621, allocations: 0.9849 MB / 1.504 GB, free: 11.73 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003991/1.622, allocations: 25.7 kB / 1.504 GB, free: 11.7 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000571/1.622, allocations: 0.7757 MB / 1.505 GB, free: 10.91 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007029/1.623, allocations: 0.6004 MB / 1.505 GB, free: 10.3 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002024/1.623, allocations: 4 kB / 1.505 GB, free: 10.3 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.000212/1.624, allocations: 389.8 kB / 1.506 GB, free: 9.914 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002832/1.626, allocations: 2.05 MB / 1.508 GB, free: 7.863 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003111/1.63, allocations: 2.372 MB / 1.51 GB, free: 5.379 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005627/1.635, allocations: 2.755 MB / 1.513 GB, free: 2.629 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-05/1.635, allocations: 0 / 1.513 GB, free: 2.629 MB / 0.9167 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.01863/1.654, allocations: 8.489 MB / 1.521 GB, free: 10.11 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 3.485e-05/1.654, allocations: 8 kB / 1.521 GB, free: 10.11 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.168e-05/1.654, allocations: 8 kB / 1.521 GB, free: 10.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01484/1.669, allocations: 4.944 MB / 1.526 GB, free: 5.141 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/1.67, allocations: 251.6 kB / 1.526 GB, free: 4.895 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03761/1.708, allocations: 22.95 MB / 1.549 GB, free: 13.64 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002546/1.71, allocations: 91.77 kB / 1.549 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006626/1.711, allocations: 271.8 kB / 1.549 GB, free: 13.28 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 98 * 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: 2 {(8,100.0%) 16,(8,100.0%) 38} * Non-linear torn systems: 2 {8 16,8 38} Notification: Performance of prepare postOptimizeDAE: time 0.0005131/1.711, allocations: 124.7 kB / 1.549 GB, free: 13.15 MB / 0.9636 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01624/1.728, allocations: 7.632 MB / 1.556 GB, free: 5.496 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008843/1.729, allocations: 138.3 kB / 1.557 GB, free: 5.359 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01707/1.746, allocations: 8.03 MB / 1.564 GB, free: 13.29 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.007e-05/1.746, allocations: 16 kB / 1.564 GB, free: 13.28 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-05/1.746, allocations: 16 kB / 1.564 GB, free: 13.26 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.933e-05/1.746, allocations: 7.969 kB / 1.564 GB, free: 13.25 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02492/1.771, allocations: 12.43 MB / 1.577 GB, free: 0.6914 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-05/1.771, allocations: 8.469 kB / 1.577 GB, free: 0.6836 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005425/1.771, allocations: 119.9 kB / 1.577 GB, free: 0.5664 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01416/1.786, allocations: 4.704 MB / 1.581 GB, free: 11.85 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004329/1.786, allocations: 71.89 kB / 1.581 GB, free: 11.78 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03054/1.817, allocations: 19.24 MB / 1.6 GB, free: 8.238 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.054e-05/1.817, allocations: 4 kB / 1.6 GB, free: 8.234 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01588/1.833, allocations: 7.668 MB / 1.608 GB, free: 400 kB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001908/1.835, allocations: 0.827 MB / 1.608 GB, free: 15.54 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004171/1.835, allocations: 4 kB / 1.608 GB, free: 15.54 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001291/1.836, allocations: 59.84 kB / 1.609 GB, free: 15.48 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005654/1.837, allocations: 193.6 kB / 1.609 GB, free: 15.29 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003347/1.837, allocations: 179.9 kB / 1.609 GB, free: 15.12 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.001101/1.838, allocations: 0.7645 MB / 1.61 GB, free: 14.35 MB / 1.026 GB Notification: Performance of sort global known variables: time 2.31e-07/1.838, allocations: 0 / 1.61 GB, free: 14.35 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.00307/1.841, allocations: 0.6913 MB / 1.61 GB, free: 13.66 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 62 * 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: 2 {(8,100.0%) 8,(14,76.0%) 24} * Non-linear torn systems: 2 {8 16,8 38} Notification: Performance of Backend phase and start with SimCode phase: time 0.01676/1.858, allocations: 9.424 MB / 1.62 GB, free: 4.09 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.01027/1.868, allocations: 5.66 MB / 1.625 GB, free: 14.41 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 6.862e-06/1.869, allocations: 0 / 1.625 GB, free: 14.41 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.007634/1.876, allocations: 3.377 MB / 1.628 GB, free: 11.02 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001501/1.878, allocations: 170.6 kB / 1.629 GB, free: 10.85 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009129/1.887, allocations: 4.73 MB / 1.633 GB, free: 6.023 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001731/1.889, allocations: 1.827 MB / 1.635 GB, free: 4.164 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.001265/1.89, allocations: 410.7 kB / 1.635 GB, free: 3.758 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009694/1.891, allocations: 0.6632 MB / 1.636 GB, free: 3.094 MB / 1.042 GB Notification: Performance of SimCode: time 1.132e-06/1.891, allocations: 0 / 1.636 GB, free: 3.094 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1252/2.016, allocations: 75.56 MB / 1.71 GB, free: 7.609 MB / 1.12 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002197/2.016, allocations: 184.1 kB / 1.71 GB, free: 7.41 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.234/5.25, allocations: 5.594 kB / 1.71 GB, free: 7.406 MB / 1.12 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat does not exist to compare? outputFormat=mat