Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinear_N_2_M_2.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/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/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(ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinear_N_2_M_2,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemAC_Verification_DistributionSystemLinear_N_2_M_2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinear_N_2_M_2,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemAC_Verification_DistributionSystemLinear_N_2_M_2",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.0008404/0.0008404, allocations: 86.55 kB / 16.31 MB, free: 6.457 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.0008552/0.0008552, allocations: 184.1 kB / 17.21 MB, free: 6.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.149/1.149, allocations: 223.3 MB / 241.2 MB, free: 320 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7278/0.7278, allocations: 120.5 MB / 412.8 MB, free: 9.188 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002593/0.0002593, allocations: 4 kB / 0.4944 GB, free: 11.64 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4193/0.4196, allocations: 82.84 MB / 0.5753 GB, free: 41.93 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinear_N_2_M_2): time 0.002208/0.4219, allocations: 3.05 MB / 0.5782 GB, free: 39.5 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0007737/0.4226, allocations: 0.7909 MB / 0.579 GB, free: 38.86 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001154/0.4228, allocations: 13.56 kB / 0.579 GB, free: 38.86 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0003117/0.4231, allocations: 156.7 kB / 0.5792 GB, free: 38.75 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001143/0.4232, allocations: 81.05 kB / 0.5793 GB, free: 38.68 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007665/0.424, allocations: 0.527 MB / 0.5798 GB, free: 38.28 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0007319/0.4247, allocations: 0.9772 MB / 0.5807 GB, free: 37.7 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006628/0.4254, allocations: 0.6964 MB / 0.5814 GB, free: 37.33 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000211/0.4256, allocations: 332.5 kB / 0.5817 GB, free: 37.17 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004285/0.4261, allocations: 481.5 kB / 0.5822 GB, free: 36.89 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 7.182e-05/0.4261, allocations: 51.78 kB / 0.5822 GB, free: 36.89 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002726/0.4264, allocations: 161.1 kB / 0.5824 GB, free: 36.84 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 9.239e-05/0.4265, allocations: 162.7 kB / 0.5825 GB, free: 36.72 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001357/0.4267, allocations: 228.4 kB / 0.5828 GB, free: 36.57 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0009237/0.4276, allocations: 1.53 MB / 0.5842 GB, free: 35.54 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.4276, allocations: 0.9062 kB / 0.5842 GB, free: 35.54 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.273e-06/0.4276, allocations: 0 / 0.5842 GB, free: 35.54 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.115e-05/0.4276, allocations: 0 / 0.5842 GB, free: 35.54 MB / 462.3 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.004893/0.4325, allocations: 2.548 MB / 0.5867 GB, free: 33.98 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.4326, allocations: 9.344 kB / 0.5867 GB, free: 33.98 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001928/0.4328, allocations: 199.7 kB / 0.5869 GB, free: 33.82 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001775/0.4329, allocations: 110.2 kB / 0.587 GB, free: 33.77 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009128/0.4339, allocations: 0.7828 MB / 0.5878 GB, free: 33.26 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.261e-05/0.4339, allocations: 86.36 kB / 0.5879 GB, free: 33.22 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001524/0.4341, allocations: 118.8 kB / 0.588 GB, free: 33.15 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001989/0.4361, allocations: 1.828 MB / 0.5898 GB, free: 31.27 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.959e-05/0.4361, allocations: 3.953 kB / 0.5898 GB, free: 31.26 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001019/0.4362, allocations: 48 kB / 0.5898 GB, free: 31.21 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.534e-05/0.4362, allocations: 31.94 kB / 0.5899 GB, free: 31.18 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001722/0.438, allocations: 1.606 MB / 0.5914 GB, free: 29.57 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005282/0.4432, allocations: 6.07 MB / 0.5974 GB, free: 23.34 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/0.4443, allocations: 0.9961 MB / 0.5983 GB, free: 22.34 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004827/0.4448, allocations: 0.5497 MB / 0.5989 GB, free: 21.78 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.845e-05/0.4449, allocations: 8.438 kB / 0.5989 GB, free: 21.77 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.444e-05/0.4449, allocations: 38.98 kB / 0.5989 GB, free: 21.72 MB / 462.3 MB Notification: Performance of pre-optimization done (n=53): time 1.463e-06/0.4449, allocations: 0 / 0.5989 GB, free: 21.72 MB / 462.3 MB Notification: Performance of matching and sorting (n=53): time 0.0057/0.4506, allocations: 3.381 MB / 0.6022 GB, free: 18.31 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.014e-05/0.4506, allocations: 59.84 kB / 0.6023 GB, free: 18.24 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004699/0.4511, allocations: 0.6149 MB / 0.6029 GB, free: 17.62 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.013e-05/0.4512, allocations: 37.7 kB / 0.6029 GB, free: 17.58 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001556/0.4513, allocations: 498.1 kB / 0.6034 GB, free: 17.08 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 9.319e-05/0.4514, allocations: 185.3 kB / 0.6036 GB, free: 16.9 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.344e-05/0.4515, allocations: 16 kB / 0.6036 GB, free: 16.88 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.089e-05/0.4515, allocations: 366.8 kB / 0.6039 GB, free: 16.52 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004007/0.4519, allocations: 425.7 kB / 0.6043 GB, free: 16.1 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004705/0.4524, allocations: 0.6517 MB / 0.605 GB, free: 15.34 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004996/0.4529, allocations: 0.5447 MB / 0.6055 GB, free: 14.8 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.4529, allocations: 0 / 0.6055 GB, free: 14.8 MB / 462.3 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001867/0.4548, allocations: 1.705 MB / 0.6072 GB, free: 13.08 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.4548, allocations: 8 kB / 0.6072 GB, free: 13.07 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.4548, allocations: 11.94 kB / 0.6072 GB, free: 13.06 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009799/0.4558, allocations: 0.5937 MB / 0.6078 GB, free: 12.46 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002713/0.4561, allocations: 119.8 kB / 0.6079 GB, free: 12.35 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005705/0.4618, allocations: 6.249 MB / 0.614 GB, free: 5.961 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004279/0.4622, allocations: 171 kB / 0.6141 GB, free: 5.793 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.829e-05/0.4623, allocations: 32 kB / 0.6142 GB, free: 5.762 MB / 462.3 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 4 (load[2,2].controller.local_reset,load[2,1].controller.local_reset,load[1,2].controller.local_reset,load[1,1].controller.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(7,75.5%) 30} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004596/0.4628, allocations: 497.4 kB / 0.6147 GB, free: 5.266 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.066e-05/0.4628, allocations: 63.33 kB / 0.6147 GB, free: 5.203 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000183/0.463, allocations: 101.2 kB / 0.6148 GB, free: 5.102 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.463, allocations: 8 kB / 0.6148 GB, free: 5.094 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.191e-05/0.4631, allocations: 4 kB / 0.6148 GB, free: 5.09 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.4631, allocations: 3.984 kB / 0.6148 GB, free: 5.086 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008358/0.4639, allocations: 1.052 MB / 0.6159 GB, free: 3.984 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.4639, allocations: 3.938 kB / 0.6159 GB, free: 3.98 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001907/0.4641, allocations: 55.92 kB / 0.6159 GB, free: 3.926 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009077/0.465, allocations: 0.5903 MB / 0.6165 GB, free: 3.332 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.243e-05/0.4651, allocations: 12 kB / 0.6165 GB, free: 3.32 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006358/0.4714, allocations: 6.246 MB / 0.6226 GB, free: 12.93 MB / 478.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.4714, allocations: 4.141 kB / 0.6226 GB, free: 12.93 MB / 478.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00259/0.474, allocations: 2.095 MB / 0.6246 GB, free: 10.81 MB / 478.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/0.4742, allocations: 152.4 kB / 0.6248 GB, free: 10.64 MB / 478.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.267e-05/0.4743, allocations: 12 kB / 0.6248 GB, free: 10.63 MB / 478.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000347/0.4746, allocations: 111.8 kB / 0.6249 GB, free: 10.52 MB / 478.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.523e-05/0.4747, allocations: 40.38 kB / 0.6249 GB, free: 10.48 MB / 478.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.6e-05/0.4747, allocations: 15.94 kB / 0.625 GB, free: 10.47 MB / 478.3 MB Notification: Performance of sorting global known variables: time 0.0004389/0.4752, allocations: 443 kB / 0.6254 GB, free: 10.04 MB / 478.3 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4752, allocations: 0 / 0.6254 GB, free: 10.04 MB / 478.3 MB Notification: Performance of remove unused functions: time 0.0009313/0.4761, allocations: 362.8 kB / 0.6257 GB, free: 9.684 MB / 478.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (load[1,1].controller.y,load[1,2].controller.y,load[2,1].controller.y,load[2,2].controller.y) * 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 (17): * Single equations (assignments): 16 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(7,77.6%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002844/0.479, allocations: 2.656 MB / 0.6283 GB, free: 6.996 MB / 478.3 MB Notification: Performance of simCode: created initialization part: time 0.001907/0.4809, allocations: 1.432 MB / 0.6297 GB, free: 5.547 MB / 478.3 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4809, allocations: 4 kB / 0.6297 GB, free: 5.543 MB / 478.3 MB Notification: Performance of simCode: created simulation system equations: time 0.001177/0.4821, allocations: 0.912 MB / 0.6306 GB, free: 4.621 MB / 478.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004253/0.4825, allocations: 65.47 kB / 0.6307 GB, free: 4.559 MB / 478.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007998/0.4905, allocations: 6.652 MB / 0.6372 GB, free: 13.75 MB / 494.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007836/0.4913, allocations: 1.34 MB / 0.6385 GB, free: 12.38 MB / 494.3 MB Notification: Performance of simCode: alias equations: time 0.000405/0.4918, allocations: 236.6 kB / 0.6387 GB, free: 12.14 MB / 494.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000343/0.4921, allocations: 303.3 kB / 0.639 GB, free: 11.85 MB / 494.3 MB Notification: Performance of SimCode: time 2.8e-07/0.4921, allocations: 0 / 0.639 GB, free: 11.85 MB / 494.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02795/0.5201, allocations: 17.99 MB / 0.6566 GB, free: 10.13 MB / 0.4983 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002281/0.5203, allocations: 271.6 kB / 0.6568 GB, free: 9.77 MB / 0.4983 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.787/2.307, allocations: 0 / 0.6568 GB, free: 9.77 MB / 0.4983 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinear_N_2_M_2.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinear_N_2_M_2.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinear_N_2_M_2.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinear_N_2_M_2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinear_N_2_M_2_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemAC_Verification_DistributionSystemLinear_N_2_M_2_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemAC_Verification_DistributionSystemLinear_N_2_M_2.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinear_N_2_M_2.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinear_N_2_M_2_res.mat does not exist to compare? outputFormat=mat