Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10.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.DistributionSystemModelicaIndividual_N_10_M_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaIndividual_N_10_M_10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaIndividual_N_10_M_10",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.0007267/0.0007267, allocations: 88.39 kB / 16.31 MB, free: 6.449 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.0007126/0.0007126, allocations: 183.1 kB / 17.21 MB, free: 6.316 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.219/1.219, allocations: 223.3 MB / 241.2 MB, free: 5.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6786/0.6786, allocations: 120.5 MB / 412.8 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002766/0.0002766, allocations: 8 kB / 0.4944 GB, free: 10.96 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.138, allocations: 82.84 MB / 0.5753 GB, free: 7.984 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10): time 0.4437/0.5817, allocations: 40.76 MB / 0.6151 GB, free: 7.406 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.02278/0.6046, allocations: 9.582 MB / 0.6244 GB, free: 184 kB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01066/0.6153, allocations: 190.7 kB / 0.6246 GB, free: 144 kB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.006194/0.6215, allocations: 1.234 MB / 0.6258 GB, free: 15.06 MB / 478.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0133/0.6348, allocations: 2.534 MB / 0.6283 GB, free: 12.83 MB / 478.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.007172/0.6421, allocations: 1.784 MB / 0.63 GB, free: 11.25 MB / 478.3 MB Notification: Performance of NFFlatten.flatten: time 0.01642/0.6585, allocations: 11 MB / 0.6408 GB, free: 4.621 MB / 478.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00397/0.6625, allocations: 2.46 MB / 0.6432 GB, free: 3.141 MB / 478.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006016/0.6685, allocations: 3.516 MB / 0.6466 GB, free: 15.96 MB / 494.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005161/0.6737, allocations: 4.041 MB / 0.6505 GB, free: 11.91 MB / 494.3 MB Notification: Performance of NFPackage.collectConstants: time 0.001045/0.6748, allocations: 0.496 MB / 0.651 GB, free: 11.41 MB / 494.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001608/0.6764, allocations: 0.4961 MB / 0.6515 GB, free: 10.91 MB / 494.3 MB Notification: Performance of NFScalarize.scalarize: time 0.001099/0.6775, allocations: 1.591 MB / 0.6531 GB, free: 9.316 MB / 494.3 MB Notification: Performance of NFVerifyModel.verify: time 0.001913/0.6794, allocations: 1.751 MB / 0.6548 GB, free: 7.555 MB / 494.3 MB Notification: Performance of NFConvertDAE.convert: time 0.005944/0.6853, allocations: 7.87 MB / 0.6625 GB, free: 15.66 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 8.636e-06/0.6854, allocations: 11.94 kB / 0.6625 GB, free: 15.65 MB / 0.4983 GB Notification: Performance of FrontEnd: time 3.397e-06/0.6854, allocations: 0 / 0.6625 GB, free: 15.65 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 0.0002976/0.6857, allocations: 3.938 kB / 0.6625 GB, free: 15.65 MB / 0.4983 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2099 * Number of variables: 2099 Notification: Performance of Generate backend data structure: time 0.01324/0.6989, allocations: 8.388 MB / 0.6707 GB, free: 7.172 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.699, allocations: 8.031 kB / 0.6707 GB, free: 7.164 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001209/0.7002, allocations: 1.078 MB / 0.6717 GB, free: 6.074 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001199/0.7014, allocations: 1.031 MB / 0.6727 GB, free: 5.031 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004348/0.7057, allocations: 3.204 MB / 0.6759 GB, free: 1.746 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003421/0.7061, allocations: 0.5942 MB / 0.6764 GB, free: 1.148 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007061/0.7068, allocations: 0.7656 MB / 0.6772 GB, free: 392 kB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01042/0.7172, allocations: 6.413 MB / 0.6835 GB, free: 9.91 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-05/0.7174, allocations: 0 / 0.6835 GB, free: 9.91 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005666/0.7179, allocations: 364 kB / 0.6838 GB, free: 9.555 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001242/0.7181, allocations: 203.9 kB / 0.684 GB, free: 9.355 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008302/0.7264, allocations: 5.476 MB / 0.6893 GB, free: 3.863 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03541/0.7618, allocations: 24.46 MB / 0.7132 GB, free: 10.68 MB / 0.5452 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007379/0.7692, allocations: 6.667 MB / 0.7197 GB, free: 4.008 MB / 0.5452 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003294/0.7726, allocations: 2.718 MB / 0.7224 GB, free: 1.27 MB / 0.5452 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001986/0.7728, allocations: 64.94 kB / 0.7225 GB, free: 1.203 MB / 0.5452 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001337/0.7729, allocations: 149.5 kB / 0.7226 GB, free: 1.047 MB / 0.5452 GB Notification: Performance of pre-optimization done (n=630): time 8.356e-06/0.7729, allocations: 0 / 0.7226 GB, free: 1.047 MB / 0.5452 GB Notification: Performance of matching and sorting (n=630): time 0.01248/0.7854, allocations: 8.078 MB / 0.7305 GB, free: 8.879 MB / 0.5608 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.11e-05/0.7855, allocations: 116.3 kB / 0.7306 GB, free: 8.75 MB / 0.5608 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006575/0.7921, allocations: 5.079 MB / 0.7356 GB, free: 3.66 MB / 0.5608 GB Notification: Performance of collectPreVariables (initialization): time 0.0005054/0.7926, allocations: 165.7 kB / 0.7357 GB, free: 3.492 MB / 0.5608 GB Notification: Performance of collectInitialEqns (initialization): time 0.002153/0.7948, allocations: 3.621 MB / 0.7393 GB, free: 15.84 MB / 0.5764 GB Notification: Performance of collectInitialBindings (initialization): time 0.001418/0.7962, allocations: 2.087 MB / 0.7413 GB, free: 13.72 MB / 0.5764 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002649/0.7965, allocations: 152 kB / 0.7414 GB, free: 13.57 MB / 0.5764 GB Notification: Performance of setup shared object (initialization): time 0.0002744/0.7967, allocations: 0.5766 MB / 0.742 GB, free: 12.99 MB / 0.5764 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002806/0.7995, allocations: 1.869 MB / 0.7438 GB, free: 11.12 MB / 0.5764 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003391/0.8029, allocations: 2.916 MB / 0.7467 GB, free: 7.895 MB / 0.5764 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003452/0.8064, allocations: 2.273 MB / 0.7489 GB, free: 5.605 MB / 0.5764 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.639e-05/0.8064, allocations: 11.94 kB / 0.7489 GB, free: 5.594 MB / 0.5764 GB Notification: Performance of matching and sorting (n=941) (initialization): time 0.01262/0.8191, allocations: 8.553 MB / 0.7573 GB, free: 12.98 MB / 0.592 GB Notification: Performance of prepare postOptimizeDAE: time 4.167e-05/0.8191, allocations: 15.95 kB / 0.7573 GB, free: 12.97 MB / 0.592 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-05/0.8192, allocations: 24 kB / 0.7573 GB, free: 12.95 MB / 0.592 GB Notification: Tearing is skipped for strong component 1 because system size of 419 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 5.767e-05/0.8192, allocations: 44 kB / 0.7573 GB, free: 12.9 MB / 0.592 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002667/0.8219, allocations: 0.823 MB / 0.7581 GB, free: 12.08 MB / 0.592 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.933e-05/0.822, allocations: 63.78 kB / 0.7582 GB, free: 12.02 MB / 0.592 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003876/0.8258, allocations: 0.7064 MB / 0.7589 GB, free: 11.3 MB / 0.592 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003132/0.8262, allocations: 240 kB / 0.7591 GB, free: 11.07 MB / 0.592 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 102 * 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 (523): * Single equations (assignments): 522 * 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 {(419,0.6%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002082/0.8283, allocations: 0.9655 MB / 0.7601 GB, free: 10.09 MB / 0.592 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009484/0.8292, allocations: 0.7301 MB / 0.7608 GB, free: 9.352 MB / 0.592 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001168/0.8304, allocations: 0.709 MB / 0.7615 GB, free: 8.633 MB / 0.592 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.816e-05/0.8304, allocations: 63.98 kB / 0.7615 GB, free: 8.57 MB / 0.592 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001565/0.8306, allocations: 60 kB / 0.7616 GB, free: 8.512 MB / 0.592 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-05/0.8306, allocations: 27.89 kB / 0.7616 GB, free: 8.484 MB / 0.592 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00623/0.8369, allocations: 5.604 MB / 0.7671 GB, free: 2.812 MB / 0.592 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.228e-05/0.8369, allocations: 0 / 0.7671 GB, free: 2.812 MB / 0.592 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001024/0.8379, allocations: 327.6 kB / 0.7674 GB, free: 2.492 MB / 0.592 GB Notification: Tearing is skipped for strong component 2 because system size of 419 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 1.731e-05/0.838, allocations: 8 kB / 0.7674 GB, free: 2.484 MB / 0.592 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001601/0.8381, allocations: 100 kB / 0.7675 GB, free: 2.387 MB / 0.592 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.09e-05/0.8381, allocations: 11.95 kB / 0.7675 GB, free: 2.375 MB / 0.592 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.8381, allocations: 0 / 0.7675 GB, free: 2.375 MB / 0.592 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009473/0.8476, allocations: 6.971 MB / 0.7743 GB, free: 11.28 MB / 0.6077 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001416/0.8491, allocations: 0.8273 MB / 0.7751 GB, free: 10.43 MB / 0.6077 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000681/0.8497, allocations: 100 kB / 0.7752 GB, free: 10.33 MB / 0.6077 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004205/0.854, allocations: 0.8745 MB / 0.7761 GB, free: 9.453 MB / 0.6077 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008063/0.8548, allocations: 0.6442 MB / 0.7767 GB, free: 8.805 MB / 0.6077 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003269/0.8551, allocations: 184 kB / 0.7769 GB, free: 8.625 MB / 0.6077 GB Notification: Performance of sorting global known variables: time 0.00408/0.8592, allocations: 3.342 MB / 0.7801 GB, free: 5.285 MB / 0.6077 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8592, allocations: 0 / 0.7801 GB, free: 5.285 MB / 0.6077 GB Notification: Performance of remove unused functions: time 0.003765/0.863, allocations: 2.26 MB / 0.7824 GB, free: 3.02 MB / 0.6077 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 (212): * Single equations (assignments): 211 * 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 {(419,0.6%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0101/0.8731, allocations: 7.758 MB / 0.7899 GB, free: 11.14 MB / 0.6233 GB Notification: Performance of simCode: created initialization part: time 0.008602/0.8817, allocations: 5.652 MB / 0.7954 GB, free: 5.426 MB / 0.6233 GB Notification: Performance of simCode: created event and clocks part: time 1.725e-05/0.8817, allocations: 18 kB / 0.7955 GB, free: 5.41 MB / 0.6233 GB Notification: Performance of simCode: created simulation system equations: time 0.004172/0.8859, allocations: 2.953 MB / 0.7984 GB, free: 2.43 MB / 0.6233 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006373/0.8923, allocations: 1.535 MB / 0.7998 GB, free: 0.8906 MB / 0.6233 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5554/1.448, allocations: 51.82 MB / 0.8505 GB, free: 202.4 MB / 0.6548 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002793/1.451, allocations: 3.316 MB / 0.8537 GB, free: 201.6 MB / 0.6548 GB Notification: Performance of simCode: alias equations: time 0.003634/1.454, allocations: 0.6767 MB / 0.8544 GB, free: 201.3 MB / 0.6548 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002444/1.457, allocations: 3.24 MB / 0.8575 GB, free: 198.6 MB / 0.6548 GB Notification: Performance of SimCode: time 8.71e-07/1.457, allocations: 0 / 0.8575 GB, free: 198.6 MB / 0.6548 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.176/1.633, allocations: 138.4 MB / 0.9927 GB, free: 71.61 MB / 0.6548 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001935/1.633, allocations: 290.2 kB / 0.993 GB, free: 71.25 MB / 0.6548 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.076/6.709, allocations: 0 / 0.993 GB, free: 71.25 MB / 0.6548 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaIndividual_N_10_M_10_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaIndividual_N_10_M_10.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10_res.mat does not exist to compare? outputFormat=mat