Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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.ACLineMatrix_RL_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_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.001305/0.001305, 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.001466/0.001466, 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.397/1.397, allocations: 223.2 MB / 239.9 MB, free: 5.445 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.421/2.421, allocations: 390.3 MB / 0.6653 GB, free: 3.008 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003758/0.0003761, allocations: 12 kB / 0.8146 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7928/0.7932, allocations: 142.3 MB / 0.9536 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02236/0.8156, allocations: 20.52 MB / 0.9736 GB, free: 8.574 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01172/0.8273, allocations: 6.228 MB / 0.9797 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003374/0.8308, allocations: 80.28 kB / 0.9798 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001494/0.8323, allocations: 465.8 kB / 0.9802 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.004523/0.8368, allocations: 1.202 MB / 0.9814 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003086/0.8399, allocations: 0.9187 MB / 0.9823 GB, free: 1.492 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.006365/0.8463, allocations: 3.239 MB / 0.9855 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01195/0.8583, allocations: 7.101 MB / 0.9924 GB, free: 8.305 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004125/0.8625, allocations: 1.752 MB / 0.9941 GB, free: 6.547 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004021/0.8665, allocations: 2.068 MB / 0.9961 GB, free: 4.473 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0007992/0.8673, allocations: 244 kB / 0.9964 GB, free: 4.234 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001877/0.8692, allocations: 491.5 kB / 0.9968 GB, free: 3.754 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.002043/0.8713, allocations: 1.93 MB / 0.9987 GB, free: 1.82 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001383/0.8727, allocations: 0.8472 MB / 0.9996 GB, free: 0.9648 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.007734/0.8804, allocations: 6.89 MB / 1.006 GB, free: 10.05 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.8805, allocations: 4 kB / 1.006 GB, free: 10.05 MB / 0.7637 GB Notification: Performance of FrontEnd: time 4.368e-06/0.8805, allocations: 0 / 1.006 GB, free: 10.05 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0002933/0.8808, allocations: 0 / 1.006 GB, free: 10.05 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.008515/0.8893, allocations: 3.589 MB / 1.01 GB, free: 6.398 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/0.8894, allocations: 8.031 kB / 1.01 GB, free: 6.391 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001411/0.8908, allocations: 0.5712 MB / 1.01 GB, free: 5.809 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00856/0.8993, allocations: 1.789 MB / 1.012 GB, free: 4.012 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006278/0.9057, allocations: 2.509 MB / 1.015 GB, free: 1.449 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002194/0.9059, allocations: 271.3 kB / 1.015 GB, free: 1.184 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001123/0.907, allocations: 359.8 kB / 1.015 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01691/0.924, allocations: 7.432 MB / 1.022 GB, free: 9.133 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001038/0.9241, allocations: 19.83 kB / 1.022 GB, free: 9.113 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004968/0.9246, allocations: 155.9 kB / 1.023 GB, free: 8.961 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005824/0.9252, allocations: 487.3 kB / 1.023 GB, free: 8.484 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01072/0.9359, allocations: 5.677 MB / 1.029 GB, free: 2.801 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03998/0.9759, allocations: 31.69 MB / 1.06 GB, free: 348 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003145/0.9791, allocations: 2.083 MB / 1.062 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001776/0.9793, allocations: 17.31 kB / 1.062 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.842e-05/0.9794, allocations: 43.88 kB / 1.062 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=146): time 3.035e-06/0.9794, allocations: 0 / 1.062 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of matching and sorting (n=251): time 0.3179/1.297, allocations: 75.25 MB / 1.135 GB, free: 2.797 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.197e-05/1.297, allocations: 77.41 kB / 1.135 GB, free: 2.711 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002519/1.3, allocations: 1.654 MB / 1.137 GB, free: 1.012 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0006161/1.301, allocations: 69.69 kB / 1.137 GB, free: 0.9375 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.001243/1.302, allocations: 1.739 MB / 1.139 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.001029/1.303, allocations: 0.8586 MB / 1.139 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002429/1.303, allocations: 52 kB / 1.139 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002269/1.303, allocations: 415.2 kB / 1.14 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005538/1.309, allocations: 2.718 MB / 1.143 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006683/1.316, allocations: 3.312 MB / 1.146 GB, free: 7.559 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005607/1.321, allocations: 3.059 MB / 1.149 GB, free: 4.5 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.845e-05/1.321, allocations: 4 kB / 1.149 GB, free: 4.496 MB / 0.9044 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.04325/1.365, allocations: 14.64 MB / 1.163 GB, free: 5.812 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.287e-05/1.365, allocations: 12 kB / 1.163 GB, free: 5.801 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.618e-05/1.365, allocations: 16 kB / 1.163 GB, free: 5.785 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03017/1.395, allocations: 9.246 MB / 1.172 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001707/1.397, allocations: 295.5 kB / 1.172 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0843/1.481, allocations: 49.58 MB / 1.221 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003181/1.484, allocations: 219.7 kB / 1.221 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006132/1.485, allocations: 104 kB / 1.221 GB, free: 9.484 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(19,68.1%) 19,(19,54.6%) 19,(12,50.0%) 18,(12,50.0%) 18,(12,52.8%) 10,(12,53.5%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003565/1.488, allocations: 1.586 MB / 1.223 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008536/1.489, allocations: 245.2 kB / 1.223 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03298/1.522, allocations: 14.72 MB / 1.237 GB, free: 8.867 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-05/1.522, allocations: 24 kB / 1.237 GB, free: 8.844 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000211/1.523, allocations: 44 kB / 1.237 GB, free: 8.801 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-05/1.523, allocations: 19.91 kB / 1.237 GB, free: 8.781 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04616/1.569, allocations: 20.49 MB / 1.257 GB, free: 4.094 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.274e-05/1.569, allocations: 8 kB / 1.257 GB, free: 4.086 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000839/1.57, allocations: 159.7 kB / 1.257 GB, free: 3.93 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.6909/2.261, allocations: 9.001 MB / 1.266 GB, free: 274.7 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004908/2.261, allocations: 47.41 kB / 1.266 GB, free: 274.7 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07402/2.335, allocations: 49.2 MB / 1.314 GB, free: 255.2 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/2.335, allocations: 11.28 kB / 1.314 GB, free: 255.2 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02752/2.363, allocations: 14.77 MB / 1.329 GB, free: 241.7 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002402/2.365, allocations: 0.8455 MB / 1.33 GB, free: 240.8 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009349/2.366, allocations: 55.94 kB / 1.33 GB, free: 240.8 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002532/2.369, allocations: 207.7 kB / 1.33 GB, free: 240.6 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001463/2.37, allocations: 237.5 kB / 1.33 GB, free: 240.3 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003221/2.371, allocations: 68 kB / 1.33 GB, free: 240.3 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001711/2.372, allocations: 1.106 MB / 1.331 GB, free: 239.1 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.71e-07/2.372, allocations: 0 / 1.331 GB, free: 239.1 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.005296/2.378, allocations: 1.617 MB / 1.333 GB, free: 237.5 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(12,53.5%) 10,(12,50.0%) 18,(19,64.8%) 19,(12,53.5%) 10,(12,50.0%) 18,(19,54.0%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02755/2.405, allocations: 17.11 MB / 1.35 GB, free: 220.2 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.02053/2.426, allocations: 10.34 MB / 1.36 GB, free: 209.8 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.137e-05/2.426, allocations: 0 / 1.36 GB, free: 209.8 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.01658/2.442, allocations: 7.147 MB / 1.367 GB, free: 202.6 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00317/2.446, allocations: 483.9 kB / 1.367 GB, free: 202.1 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07248/2.518, allocations: 47.45 MB / 1.413 GB, free: 153.2 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004715/2.523, allocations: 3.307 MB / 1.417 GB, free: 149.8 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001261/2.524, allocations: 391.3 kB / 1.417 GB, free: 149.4 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001634/2.526, allocations: 1.479 MB / 1.418 GB, free: 148 MB / 1.014 GB Notification: Performance of SimCode: time 1.142e-06/2.526, allocations: 0 / 1.418 GB, free: 148 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1625/2.688, allocations: 112.4 MB / 1.528 GB, free: 36.12 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001676/2.689, allocations: 233.2 kB / 1.528 GB, free: 35.88 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.659/6.348, allocations: 0 / 1.528 GB, free: 35.88 MB / 1.014 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat does not exist to compare? outputFormat=mat