Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14.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.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_14_M_14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_14_M_14",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.00102/0.00102, allocations: 97.98 kB / 16.3 MB, free: 5.992 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.001097/0.001097, allocations: 182 kB / 17.19 MB, free: 5.906 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.191/1.191, allocations: 223.2 MB / 241.1 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6513/0.6513, allocations: 120.5 MB / 412.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002579/0.000258, allocations: 8 kB / 0.4943 GB, free: 11.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1242, allocations: 82.84 MB / 0.5752 GB, free: 8.043 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14): time 0.002027/0.1263, allocations: 1.917 MB / 0.577 GB, free: 6.113 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006676/0.127, allocations: 0.5498 MB / 0.5776 GB, free: 5.559 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.048e-05/0.1271, allocations: 0 / 0.5776 GB, free: 5.559 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.892e-05/0.1272, allocations: 27.83 kB / 0.5776 GB, free: 5.531 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001103/0.1273, allocations: 67.78 kB / 0.5777 GB, free: 5.465 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000113/0.1274, allocations: 55.81 kB / 0.5777 GB, free: 5.41 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.3673/0.4947, allocations: 16.46 MB / 0.5938 GB, free: 8.332 MB / 446.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008796/0.5035, allocations: 8.376 MB / 0.602 GB, free: 4.863 MB / 446.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009225/0.5128, allocations: 6.972 MB / 0.6088 GB, free: 2.184 MB / 446.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01215/0.525, allocations: 7.895 MB / 0.6165 GB, free: 13.46 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.002112/0.5271, allocations: 0.9603 MB / 0.6174 GB, free: 13.23 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003642/0.5307, allocations: 0.9531 MB / 0.6183 GB, free: 12.27 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.002331/0.5331, allocations: 3.109 MB / 0.6214 GB, free: 9.156 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.004012/0.5371, allocations: 3.364 MB / 0.6247 GB, free: 5.777 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.01618/0.5533, allocations: 21.39 MB / 0.6456 GB, free: 348 kB / 478.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.5533, allocations: 0 / 0.6456 GB, free: 348 kB / 478.3 MB Notification: Performance of FrontEnd: time 2.074e-06/0.5533, allocations: 0 / 0.6456 GB, free: 348 kB / 478.3 MB Notification: Performance of Transformations before backend: time 0.0006969/0.554, allocations: 0 / 0.6456 GB, free: 348 kB / 478.3 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4055 * Number of variables: 4055 Notification: Performance of Generate backend data structure: time 0.0421/0.5961, allocations: 21.92 MB / 0.667 GB, free: 10.29 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.5962, allocations: 12.03 kB / 0.667 GB, free: 10.28 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007098/0.6033, allocations: 2.307 MB / 0.6692 GB, free: 7.961 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004705/0.608, allocations: 1.993 MB / 0.6712 GB, free: 5.945 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02348/0.6315, allocations: 10.05 MB / 0.681 GB, free: 11.82 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007286/0.6322, allocations: 1.144 MB / 0.6821 GB, free: 10.68 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002337/0.6346, allocations: 1.488 MB / 0.6836 GB, free: 9.188 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03921/0.6738, allocations: 25.1 MB / 0.7081 GB, free: 48 kB / 0.5295 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003319/0.6742, allocations: 0 / 0.7081 GB, free: 48 kB / 0.5295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003456/0.6777, allocations: 0.6915 MB / 0.7088 GB, free: 15.35 MB / 0.5452 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003662/0.678, allocations: 392 kB / 0.7091 GB, free: 14.97 MB / 0.5452 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04112/0.7192, allocations: 25.72 MB / 0.7342 GB, free: 5.238 MB / 0.5608 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1365/0.8557, allocations: 76.82 MB / 0.8093 GB, free: 7.023 MB / 0.6389 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02485/0.8806, allocations: 22.16 MB / 0.8309 GB, free: 0.8945 MB / 0.6545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003313/0.8809, allocations: 121.5 kB / 0.831 GB, free: 0.7734 MB / 0.6545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002139/0.8812, allocations: 267.3 kB / 0.8313 GB, free: 0.5 MB / 0.6545 GB Notification: Performance of pre-optimization done (n=1218): time 1.25e-05/0.8812, allocations: 0 / 0.8313 GB, free: 0.5 MB / 0.6545 GB Notification: Performance of matching and sorting (n=1218): time 0.4485/1.33, allocations: 29.84 MB / 0.8604 GB, free: 184.1 MB / 0.6548 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.903e-05/1.33, allocations: 176.9 kB / 0.8606 GB, free: 184 MB / 0.6548 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0192/1.349, allocations: 16.8 MB / 0.877 GB, free: 179.6 MB / 0.6548 GB Notification: Performance of collectPreVariables (initialization): time 0.00191/1.351, allocations: 289.7 kB / 0.8773 GB, free: 179.3 MB / 0.6548 GB Notification: Performance of collectInitialEqns (initialization): time 0.003634/1.355, allocations: 7.182 MB / 0.8843 GB, free: 173 MB / 0.6548 GB Notification: Performance of collectInitialBindings (initialization): time 0.002946/1.358, allocations: 4.118 MB / 0.8883 GB, free: 169.3 MB / 0.6548 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001179/1.359, allocations: 284 kB / 0.8886 GB, free: 169 MB / 0.6548 GB Notification: Performance of setup shared object (initialization): time 0.0004738/1.359, allocations: 0.9368 MB / 0.8895 GB, free: 168.2 MB / 0.6548 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01085/1.37, allocations: 9.822 MB / 0.8991 GB, free: 160.1 MB / 0.6548 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01307/1.383, allocations: 11.9 MB / 0.9107 GB, free: 148 MB / 0.6548 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01444/1.398, allocations: 11.9 MB / 0.9223 GB, free: 136.1 MB / 0.6548 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.256e-05/1.398, allocations: 12 kB / 0.9223 GB, free: 136.1 MB / 0.6548 GB Notification: Performance of matching and sorting (n=1821) (initialization): time 0.03969/1.437, allocations: 32.64 MB / 0.9542 GB, free: 103.3 MB / 0.6548 GB Notification: Performance of prepare postOptimizeDAE: time 4.902e-05/1.437, allocations: 25.88 kB / 0.9542 GB, free: 103.3 MB / 0.6548 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.315e-05/1.438, allocations: 44 kB / 0.9543 GB, free: 103.2 MB / 0.6548 GB Notification: Tearing is skipped for strong component 1 because system size of 811 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing= and --maxSizeNonlinearTearing=. Notification: Performance of postOpt tearingSystem (initialization): time 7.855e-05/1.438, allocations: 88 kB / 0.9544 GB, free: 103.2 MB / 0.6548 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007262/1.445, allocations: 2.219 MB / 0.9565 GB, free: 100.9 MB / 0.6548 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.867e-05/1.445, allocations: 111.6 kB / 0.9566 GB, free: 100.8 MB / 0.6548 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01291/1.458, allocations: 3.269 MB / 0.9598 GB, free: 97.53 MB / 0.6548 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001072/1.459, allocations: 461.6 kB / 0.9603 GB, free: 97.08 MB / 0.6548 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 198 * 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 (1011): * Single equations (assignments): 1010 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(811,0.3%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007945/1.467, allocations: 6.152 MB / 0.9663 GB, free: 90.91 MB / 0.6548 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003318/1.47, allocations: 1.402 MB / 0.9676 GB, free: 89.5 MB / 0.6548 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004377/1.475, allocations: 2.164 MB / 0.9698 GB, free: 87.32 MB / 0.6548 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.929e-05/1.475, allocations: 116 kB / 0.9699 GB, free: 87.21 MB / 0.6548 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003497/1.475, allocations: 116 kB / 0.97 GB, free: 87.1 MB / 0.6548 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-05/1.475, allocations: 59.72 kB / 0.97 GB, free: 87.04 MB / 0.6548 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02077/1.496, allocations: 15.35 MB / 0.985 GB, free: 71.76 MB / 0.6548 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.509e-05/1.496, allocations: 0 / 0.985 GB, free: 71.76 MB / 0.6548 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003095/1.499, allocations: 0.9284 MB / 0.9859 GB, free: 70.83 MB / 0.6548 GB Notification: Tearing is skipped for strong component 2 because system size of 811 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing= and --maxSizeNonlinearTearing=. Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-05/1.499, allocations: 12 kB / 0.9859 GB, free: 70.82 MB / 0.6548 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009617/1.5, allocations: 196 kB / 0.9861 GB, free: 70.62 MB / 0.6548 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.396e-05/1.5, allocations: 12 kB / 0.9861 GB, free: 70.61 MB / 0.6548 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/1.5, allocations: 0 / 0.9861 GB, free: 70.61 MB / 0.6548 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02995/1.53, allocations: 24.19 MB / 1.01 GB, free: 46.29 MB / 0.6548 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005499/1.536, allocations: 2.251 MB / 1.012 GB, free: 44.01 MB / 0.6548 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002525/1.538, allocations: 203.2 kB / 1.012 GB, free: 43.81 MB / 0.6548 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01461/1.553, allocations: 4.237 MB / 1.016 GB, free: 39.57 MB / 0.6548 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001858/1.555, allocations: 1.241 MB / 1.018 GB, free: 38.32 MB / 0.6548 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001001/1.556, allocations: 360 kB / 1.018 GB, free: 37.97 MB / 0.6548 GB Notification: Performance of sorting global known variables: time 0.0125/1.568, allocations: 11.49 MB / 1.029 GB, free: 26.54 MB / 0.6548 GB Notification: Performance of sort global known variables: time 2.6e-07/1.568, allocations: 0 / 1.029 GB, free: 26.54 MB / 0.6548 GB Notification: Performance of remove unused functions: time 0.01294/1.581, allocations: 5.353 MB / 1.034 GB, free: 21.18 MB / 0.6548 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (408): * Single equations (assignments): 407 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(811,0.3%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03449/1.616, allocations: 25.21 MB / 1.059 GB, free: 11.83 MB / 0.6704 GB Notification: Performance of simCode: created initialization part: time 0.03058/1.646, allocations: 21.11 MB / 1.08 GB, free: 6.668 MB / 0.686 GB Notification: Performance of simCode: created event and clocks part: time 2.561e-05/1.646, allocations: 27.19 kB / 1.08 GB, free: 6.641 MB / 0.686 GB Notification: Performance of simCode: created simulation system equations: time 0.01451/1.661, allocations: 9.676 MB / 1.089 GB, free: 12.94 MB / 0.7017 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0132/1.674, allocations: 3.478 MB / 1.092 GB, free: 9.469 MB / 0.7017 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6727/2.347, allocations: 212.5 MB / 1.3 GB, free: 59.11 MB / 0.7017 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007066/2.354, allocations: 11.19 MB / 1.311 GB, free: 47.86 MB / 0.7017 GB Notification: Performance of simCode: alias equations: time 0.01242/2.366, allocations: 6.418 MB / 1.317 GB, free: 41.44 MB / 0.7017 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00739/2.374, allocations: 6.002 MB / 1.323 GB, free: 35.44 MB / 0.7017 GB Notification: Performance of SimCode: time 6.91e-07/2.374, allocations: 0 / 1.323 GB, free: 35.44 MB / 0.7017 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8493/3.223, allocations: 346.3 MB / 1.661 GB, free: 179.9 MB / 0.7329 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000148/3.223, allocations: 279.3 kB / 1.661 GB, free: 179.5 MB / 0.7329 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.815/11.04, allocations: 6.344 kB / 1.661 GB, free: 179.5 MB / 0.7329 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_14_M_14_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_14_M_14.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_14_M_14_res.mat does not exist to compare? outputFormat=mat