Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.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.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineEquations_N_20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineEquations_N_20",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.001564/0.001565, allocations: 105.1 kB / 17.06 MB, free: 6.023 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.001565/0.001565, allocations: 196 kB / 18 MB, free: 5.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.226/2.226, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.734/1.734, allocations: 119.3 MB / 411.2 MB, free: 9.484 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 70.33 kB / 0.5719 GB, free: 39.16 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2063/0.2077, allocations: 80.69 MB / 0.6507 GB, free: 12.07 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20): time 0.002727/0.2105, allocations: 1.349 MB / 0.652 GB, free: 10.71 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002682/0.2107, allocations: 51.86 kB / 0.6521 GB, free: 10.66 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.332e-05/0.2108, allocations: 0 / 0.6521 GB, free: 10.66 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.000128/0.2109, allocations: 7.922 kB / 0.6521 GB, free: 10.65 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0001062/0.2111, allocations: 19.84 kB / 0.6521 GB, free: 10.63 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001752/0.2112, allocations: 15.97 kB / 0.6521 GB, free: 10.62 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0003921/0.2116, allocations: 359.3 kB / 0.6525 GB, free: 10.27 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 6.416e-05/0.2117, allocations: 4 kB / 0.6525 GB, free: 10.26 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001433/0.2119, allocations: 127.8 kB / 0.6526 GB, free: 10.14 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000315/0.2122, allocations: 179.6 kB / 0.6527 GB, free: 9.961 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 5.264e-05/0.2122, allocations: 20 kB / 0.6528 GB, free: 9.941 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 4.504e-05/0.2123, allocations: 16 kB / 0.6528 GB, free: 9.926 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001793/0.2125, allocations: 147.6 kB / 0.6529 GB, free: 9.781 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0001785/0.2127, allocations: 147.4 kB / 0.6531 GB, free: 9.637 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0002799/0.213, allocations: 252 kB / 0.6533 GB, free: 9.391 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.213, allocations: 0 / 0.6533 GB, free: 9.391 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.515e-06/0.213, allocations: 0 / 0.6533 GB, free: 9.391 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.213, allocations: 0 / 0.6533 GB, free: 9.391 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001779/0.2148, allocations: 0.7454 MB / 0.654 GB, free: 8.59 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/0.2148, allocations: 12.03 kB / 0.654 GB, free: 8.578 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.088e-05/0.2149, allocations: 66.72 kB / 0.6541 GB, free: 8.504 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.514e-05/0.215, allocations: 32.66 kB / 0.6541 GB, free: 8.473 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003415/0.2154, allocations: 244.1 kB / 0.6544 GB, free: 8.195 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.881e-05/0.2154, allocations: 28.88 kB / 0.6544 GB, free: 8.168 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.55e-05/0.2155, allocations: 64.17 kB / 0.6545 GB, free: 8.105 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000587/0.2161, allocations: 345.2 kB / 0.6548 GB, free: 7.762 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.2161, allocations: 7.875 kB / 0.6548 GB, free: 7.754 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.569e-05/0.2162, allocations: 12 kB / 0.6548 GB, free: 7.742 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.2162, allocations: 8 kB / 0.6548 GB, free: 7.734 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003637/0.2165, allocations: 202.1 kB / 0.655 GB, free: 7.535 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002074/0.2186, allocations: 1.006 MB / 0.656 GB, free: 6.48 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00395/0.2226, allocations: 1.213 MB / 0.6572 GB, free: 5.258 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003246/0.2229, allocations: 188.8 kB / 0.6574 GB, free: 5.07 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 3.962e-05/0.223, allocations: 11.94 kB / 0.6574 GB, free: 5.059 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.037e-05/0.223, allocations: 38.56 kB / 0.6574 GB, free: 5.012 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=42): time 2.214e-06/0.223, allocations: 0 / 0.6574 GB, free: 5.012 MB / 0.4983 GB Notification: Performance of matching and sorting (n=42): time 0.001194/0.2242, allocations: 0.5706 MB / 0.658 GB, free: 4.434 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.314e-05/0.2243, allocations: 55.41 kB / 0.658 GB, free: 4.367 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.2245, allocations: 125.8 kB / 0.6581 GB, free: 4.234 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 5.228e-05/0.2245, allocations: 41.7 kB / 0.6582 GB, free: 4.188 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/0.2246, allocations: 117.2 kB / 0.6583 GB, free: 4.066 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001863/0.2248, allocations: 197.2 kB / 0.6585 GB, free: 3.871 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001907/0.225, allocations: 126.3 kB / 0.6586 GB, free: 3.742 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001761/0.2252, allocations: 342.8 kB / 0.6589 GB, free: 3.398 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003592/0.2256, allocations: 221.2 kB / 0.6591 GB, free: 3.184 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003544/0.2259, allocations: 229.8 kB / 0.6594 GB, free: 2.957 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007523/0.2267, allocations: 0.5008 MB / 0.6598 GB, free: 2.453 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.2267, allocations: 0 / 0.6598 GB, free: 2.453 MB / 0.4983 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0009633/0.2277, allocations: 0.6257 MB / 0.6605 GB, free: 1.82 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/0.2277, allocations: 12 kB / 0.6605 GB, free: 1.809 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.2277, allocations: 3.984 kB / 0.6605 GB, free: 1.805 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.7e-05/0.2278, allocations: 0 / 0.6605 GB, free: 1.805 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009828/0.2288, allocations: 223.8 kB / 0.6607 GB, free: 1.586 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.835e-05/0.2288, allocations: 4 kB / 0.6607 GB, free: 1.582 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002584/0.2291, allocations: 59.5 kB / 0.6607 GB, free: 1.523 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.021e-05/0.2291, allocations: 20.38 kB / 0.6608 GB, free: 1.504 MB / 0.4983 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (82): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002256/0.2293, allocations: 158.6 kB / 0.6609 GB, free: 1.34 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.892e-05/0.2294, allocations: 19.75 kB / 0.6609 GB, free: 1.32 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001621/0.2296, allocations: 61.94 kB / 0.661 GB, free: 1.258 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.255e-06/0.2296, allocations: 7.938 kB / 0.661 GB, free: 1.25 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.508e-05/0.2296, allocations: 0 / 0.661 GB, free: 1.25 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.2296, allocations: 3.938 kB / 0.661 GB, free: 1.246 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006078/0.2303, allocations: 393 kB / 0.6614 GB, free: 0.8125 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.2303, allocations: 4 kB / 0.6614 GB, free: 0.8086 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001251/0.2315, allocations: 227.8 kB / 0.6616 GB, free: 0.5859 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.051e-05/0.2315, allocations: 0 / 0.6616 GB, free: 0.5859 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.574e-05/0.2317, allocations: 23.97 kB / 0.6616 GB, free: 0.5625 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.554e-06/0.2317, allocations: 4 kB / 0.6616 GB, free: 0.5586 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.2317, allocations: 3.938 kB / 0.6616 GB, free: 0.5547 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001201/0.2329, allocations: 0.7062 MB / 0.6623 GB, free: 15.83 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 9.74e-05/0.233, allocations: 92.86 kB / 0.6624 GB, free: 15.72 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.25e-05/0.2331, allocations: 23.98 kB / 0.6624 GB, free: 15.7 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002612/0.2333, allocations: 23.97 kB / 0.6625 GB, free: 15.68 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.2335, allocations: 31.95 kB / 0.6625 GB, free: 15.64 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.225e-05/0.2335, allocations: 12 kB / 0.6625 GB, free: 15.63 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 8.201e-05/0.2336, allocations: 95.27 kB / 0.6626 GB, free: 15.54 MB / 0.5139 GB Notification: Performance of sort global known variables: time 3.1e-07/0.2336, allocations: 0 / 0.6626 GB, free: 15.54 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0004297/0.234, allocations: 119.8 kB / 0.6627 GB, free: 15.42 MB / 0.5139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 40 (cur_x[1],cur_x[2],cur_x[3],cur_x[4],cur_x[5],cur_x[6],cur_x[7],cur_x[8],cur_x[9],cur_x[10],cur_x[11],cur_x[12],cur_x[13],cur_x[14],cur_x[15],cur_x[16],cur_x[17],cur_x[18],cur_x[19],vol[1],vol[2],vol[3],vol[4],vol[5],vol[6],vol[7],vol[8],vol[9],vol[10],vol[11],vol[12],vol[13],vol[14],vol[15],vol[16],vol[17],vol[18],vol[19],vol[20],vvol) * 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 (42): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001557/0.2356, allocations: 1.269 MB / 0.6639 GB, free: 14.13 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0008382/0.2364, allocations: 500 kB / 0.6644 GB, free: 13.64 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.2365, allocations: 0 / 0.6644 GB, free: 13.64 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0003288/0.2368, allocations: 227.5 kB / 0.6646 GB, free: 13.42 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003541/0.2372, allocations: 23.64 kB / 0.6647 GB, free: 13.4 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007512/0.2447, allocations: 6.012 MB / 0.6705 GB, free: 7.301 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005278/0.2452, allocations: 0.8062 MB / 0.6713 GB, free: 6.469 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.000407/0.2456, allocations: 158.8 kB / 0.6715 GB, free: 6.316 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002246/0.2459, allocations: 91.41 kB / 0.6716 GB, free: 6.227 MB / 0.5139 GB Notification: Performance of SimCode: time 2.014e-06/0.2459, allocations: 288 / 0.6716 GB, free: 6.227 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0315/0.2774, allocations: 7.087 MB / 0.6785 GB, free: 15.33 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.85/13.13, allocations: 15.09 kB / 0.6785 GB, free: 15.32 MB / 0.5295 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineEquations_N_20_fmu --startTime=0 --stopTime=4e-06 --timeout=300 --tolerance=1e-08 ScalableTestSuite_ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineEquations_N_20.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.pipe 2>&1)