Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20.conf.json 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) 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 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) Running command: "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_20_M_20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_20_M_20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009292/0.0009293, allocations: 179.3 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.143/1.143, allocations: 223.2 MB / 240.3 MB, free: 10.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008514/0.0008514, allocations: 93.97 kB / 291.5 MB, free: 10.69 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.645/0.645, allocations: 120.5 MB / 463 MB, free: 8.703 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002698/0.0002698, allocations: 8 kB / 0.5434 GB, free: 42.3 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1159, allocations: 82.85 MB / 0.6243 GB, free: 9.105 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5613/0.6772, allocations: 128.2 MB / 0.7495 GB, free: 5.781 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001614/0.6774, allocations: 73.03 kB / 0.7496 GB, free: 5.746 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 1.906/2.584, allocations: 0.5491 GB / 1.299 GB, free: 52.54 MB / 0.6984 GB Notification: Performance of FrontEnd: time 2.525e-06/2.584, allocations: 0 / 1.299 GB, free: 52.54 MB / 0.6984 GB Notification: Performance of Transformations before backend: time 0.002793/2.586, allocations: 0.864 MB / 1.299 GB, free: 52.44 MB / 0.6984 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8189 * Number of variables: 8189 Notification: Performance of Generate backend data structure: time 0.09719/2.684, allocations: 43.7 MB / 1.342 GB, free: 40.77 MB / 0.6984 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/2.684, allocations: 14.59 kB / 1.342 GB, free: 40.77 MB / 0.6984 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01242/2.696, allocations: 4.625 MB / 1.347 GB, free: 40.52 MB / 0.6984 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01244/2.709, allocations: 4.005 MB / 1.351 GB, free: 38.6 MB / 0.6984 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0405/2.749, allocations: 20.21 MB / 1.37 GB, free: 34.99 MB / 0.6984 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002509/2.752, allocations: 2.315 MB / 1.373 GB, free: 34.93 MB / 0.6984 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008115/2.76, allocations: 3 MB / 1.375 GB, free: 34.93 MB / 0.6984 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08329/2.843, allocations: 48.59 MB / 1.423 GB, free: 22.79 MB / 0.6984 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001187/2.844, allocations: 0 / 1.423 GB, free: 22.79 MB / 0.6984 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007552/2.852, allocations: 1.405 MB / 1.424 GB, free: 22.43 MB / 0.6984 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004719/2.852, allocations: 0.75 MB / 1.425 GB, free: 21.68 MB / 0.6984 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09223/2.945, allocations: 50.89 MB / 1.475 GB, free: 2.789 MB / 0.714 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5923/3.537, allocations: 155.8 MB / 1.627 GB, free: 35.88 MB / 0.7296 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05802/3.595, allocations: 45.91 MB / 1.672 GB, free: 31.52 MB / 0.7296 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001801/3.597, allocations: 249 kB / 1.672 GB, free: 31.5 MB / 0.7296 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005324/3.597, allocations: 0.491 MB / 1.672 GB, free: 31.18 MB / 0.7296 GB Notification: Performance of pre-optimization done (n=2460): time 8.823e-05/3.597, allocations: 0 / 1.672 GB, free: 31.18 MB / 0.7296 GB Notification: Performance of matching and sorting (n=2460): time 0.1042/3.702, allocations: 60.49 MB / 1.732 GB, free: 11.04 MB / 0.7296 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002329/3.702, allocations: 304.9 kB / 1.732 GB, free: 10.73 MB / 0.7296 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.09149/3.794, allocations: 34.35 MB / 1.765 GB, free: 8.695 MB / 0.7453 GB Notification: Performance of collectPreVariables (initialization): time 0.00453/3.798, allocations: 0.5524 MB / 1.766 GB, free: 8.137 MB / 0.7453 GB Notification: Performance of collectInitialEqns (initialization): time 0.3181/4.116, allocations: 14.75 MB / 1.78 GB, free: 85.41 MB / 0.7453 GB Notification: Performance of collectInitialBindings (initialization): time 0.007676/4.124, allocations: 8.311 MB / 1.788 GB, free: 80.86 MB / 0.7453 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003011/4.127, allocations: 0.5634 MB / 1.789 GB, free: 80.86 MB / 0.7453 GB Notification: Performance of setup shared object (initialization): time 4.009e-05/4.127, allocations: 301.1 kB / 1.789 GB, free: 80.57 MB / 0.7453 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.028/4.155, allocations: 19.88 MB / 1.809 GB, free: 80.5 MB / 0.7453 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02807/4.183, allocations: 24.08 MB / 1.832 GB, free: 77.02 MB / 0.7453 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02955/4.213, allocations: 24.11 MB / 1.856 GB, free: 76.64 MB / 0.7453 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001666/4.213, allocations: 25.22 kB / 1.856 GB, free: 76.64 MB / 0.7453 GB Notification: Performance of matching and sorting (n=3681) (initialization): time 0.09322/4.306, allocations: 66.17 MB / 1.92 GB, free: 72.58 MB / 0.7453 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001078/4.306, allocations: 40.56 kB / 1.92 GB, free: 72.58 MB / 0.7453 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001925/4.306, allocations: 89.5 kB / 1.92 GB, free: 72.58 MB / 0.7453 GB Notification: Tearing is skipped for strong component 1 because system size of 1639 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 0.0002037/4.307, allocations: 179.6 kB / 1.921 GB, free: 72.57 MB / 0.7453 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01612/4.323, allocations: 4.557 MB / 1.925 GB, free: 72.35 MB / 0.7453 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002371/4.323, allocations: 224.4 kB / 1.925 GB, free: 72.31 MB / 0.7453 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03079/4.354, allocations: 6.9 MB / 1.932 GB, free: 70.62 MB / 0.7453 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003977/4.358, allocations: 0.9126 MB / 1.933 GB, free: 70.62 MB / 0.7453 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 402 * 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 (2043): * Single equations (assignments): 2042 * 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 {(1639,0.2%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01943/4.377, allocations: 12.36 MB / 1.945 GB, free: 70.15 MB / 0.7453 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007957/4.385, allocations: 2.817 MB / 1.948 GB, free: 68.8 MB / 0.7453 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008896/4.394, allocations: 4.378 MB / 1.952 GB, free: 66.01 MB / 0.7453 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000122/4.394, allocations: 232.5 kB / 1.952 GB, free: 66.01 MB / 0.7453 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0007767/4.395, allocations: 235.8 kB / 1.952 GB, free: 66 MB / 0.7453 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002146/4.395, allocations: 116 kB / 1.953 GB, free: 66 MB / 0.7453 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05454/4.45, allocations: 30.95 MB / 1.983 GB, free: 46.2 MB / 0.7453 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.996e-05/4.45, allocations: 0 / 1.983 GB, free: 46.2 MB / 0.7453 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006107/4.456, allocations: 1.907 MB / 1.985 GB, free: 44.8 MB / 0.7453 GB Notification: Tearing is skipped for strong component 2 because system size of 1639 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 0.0001003/4.456, allocations: 28 kB / 1.985 GB, free: 44.78 MB / 0.7453 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002599/4.459, allocations: 387.4 kB / 1.985 GB, free: 44.4 MB / 0.7453 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.633e-05/4.459, allocations: 24 kB / 1.985 GB, free: 44.38 MB / 0.7453 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/4.459, allocations: 4 kB / 1.985 GB, free: 44.38 MB / 0.7453 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07749/4.536, allocations: 48.95 MB / 2.033 GB, free: 3.477 MB / 0.7453 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01401/4.55, allocations: 4.489 MB / 2.037 GB, free: 15.2 MB / 0.7609 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009802/4.56, allocations: 384 kB / 2.038 GB, free: 14.82 MB / 0.7609 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03739/4.598, allocations: 8.941 MB / 2.046 GB, free: 9.844 MB / 0.7609 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.3295/4.927, allocations: 2.617 MB / 2.049 GB, free: 94.3 MB / 0.7609 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004589/4.932, allocations: 0.7035 MB / 2.05 GB, free: 94.3 MB / 0.7609 GB Notification: Performance of sorting global known variables: time 0.03678/4.969, allocations: 23.26 MB / 2.072 GB, free: 93.66 MB / 0.7609 GB Notification: Performance of sort global known variables: time 1.082e-06/4.969, allocations: 0 / 2.072 GB, free: 93.66 MB / 0.7609 GB Notification: Performance of remove unused functions: time 0.02968/4.998, allocations: 10.82 MB / 2.083 GB, free: 93.66 MB / 0.7609 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 (822): * Single equations (assignments): 821 * 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 {(1639,0.2%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.07305/5.071, allocations: 50.48 MB / 2.132 GB, free: 89.85 MB / 0.7609 GB Notification: Performance of simCode: created initialization part: time 0.06246/5.134, allocations: 42.65 MB / 2.174 GB, free: 88.51 MB / 0.7609 GB Notification: Performance of simCode: created event and clocks part: time 5.123e-05/5.134, allocations: 62.3 kB / 2.174 GB, free: 88.5 MB / 0.7609 GB Notification: Performance of simCode: created simulation system equations: time 0.02928/5.163, allocations: 19.51 MB / 2.193 GB, free: 87.61 MB / 0.7609 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03131/5.195, allocations: 7.087 MB / 2.2 GB, free: 85.65 MB / 0.7609 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.987/7.182, allocations: 0.5468 GB / 2.747 GB, free: 36.54 MB / 0.9796 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02796/7.21, allocations: 21.96 MB / 2.768 GB, free: 21.88 MB / 0.9796 GB Notification: Performance of simCode: alias equations: time 0.03458/7.245, allocations: 13.33 MB / 2.781 GB, free: 13.79 MB / 0.9796 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01912/7.264, allocations: 12.89 MB / 2.794 GB, free: 1.715 MB / 0.9796 GB Notification: Performance of SimCode: time 9.22e-07/7.264, allocations: 0 / 2.794 GB, free: 1.715 MB / 0.9796 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.833/9.097, allocations: 0.6714 GB / 3.465 GB, free: 222.8 MB / 0.9796 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001686/9.097, allocations: 287.8 kB / 3.465 GB, free: 222.4 MB / 0.9796 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.78/30.88, allocations: 0 / 3.465 GB, free: 222.4 MB / 0.9796 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_20_M_20_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_20_M_20.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20_res.mat does not exist to compare? outputFormat=mat