Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_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.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineEquations_N_10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineEquations_N_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.001447/0.001447, allocations: 112.8 kB / 17.06 MB, free: 5.996 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.001685/0.001685, allocations: 198.9 kB / 18 MB, free: 5.078 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.166/2.166, 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.771/1.771, allocations: 119.3 MB / 411.2 MB, free: 9.484 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002183/0.002183, allocations: 69.67 kB / 0.5719 GB, free: 39.34 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2717/0.2739, allocations: 80.69 MB / 0.6507 GB, free: 12.19 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10): time 0.005433/0.2794, allocations: 1.345 MB / 0.652 GB, free: 10.84 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.000453/0.2799, allocations: 47.86 kB / 0.652 GB, free: 10.79 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001069/0.2801, allocations: 0 / 0.652 GB, free: 10.79 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001715/0.2802, allocations: 7.922 kB / 0.652 GB, free: 10.79 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0002115/0.2805, allocations: 23.84 kB / 0.6521 GB, free: 10.76 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003347/0.2809, allocations: 23.95 kB / 0.6521 GB, free: 10.74 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0004934/0.2814, allocations: 195.5 kB / 0.6523 GB, free: 10.55 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.2815, allocations: 4 kB / 0.6523 GB, free: 10.54 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002381/0.2818, allocations: 71.88 kB / 0.6524 GB, free: 10.47 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004293/0.2822, allocations: 99.72 kB / 0.6524 GB, free: 10.38 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 9.2e-05/0.2823, allocations: 12 kB / 0.6525 GB, free: 10.36 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 6.216e-05/0.2824, allocations: 8 kB / 0.6525 GB, free: 10.36 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001973/0.2826, allocations: 75.83 kB / 0.6525 GB, free: 10.28 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0002578/0.2829, allocations: 75.64 kB / 0.6526 GB, free: 10.21 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0003429/0.2832, allocations: 132.4 kB / 0.6527 GB, free: 10.08 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 1.098e-05/0.2833, allocations: 4 kB / 0.6527 GB, free: 10.07 MB / 0.4983 GB Notification: Performance of FrontEnd: time 3.347e-06/0.2833, allocations: 4 kB / 0.6527 GB, free: 10.07 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.593e-05/0.2833, allocations: 0 / 0.6527 GB, free: 10.07 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.002033/0.2854, allocations: 0.534 MB / 0.6533 GB, free: 9.484 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 7.063e-05/0.2854, allocations: 8.031 kB / 0.6533 GB, free: 9.477 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001329/0.2856, allocations: 50.67 kB / 0.6533 GB, free: 9.418 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000108/0.2857, allocations: 16.84 kB / 0.6533 GB, free: 9.402 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004227/0.2861, allocations: 212.1 kB / 0.6535 GB, free: 9.156 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.378e-05/0.2862, allocations: 24.31 kB / 0.6536 GB, free: 9.133 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.9e-05/0.2863, allocations: 28.28 kB / 0.6536 GB, free: 9.105 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006871/0.287, allocations: 190.6 kB / 0.6538 GB, free: 8.914 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.886e-05/0.2871, allocations: 3.938 kB / 0.6538 GB, free: 8.91 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.966e-05/0.2871, allocations: 4 kB / 0.6538 GB, free: 8.906 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.347e-05/0.2871, allocations: 4 kB / 0.6538 GB, free: 8.902 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00038/0.2875, allocations: 111.9 kB / 0.6539 GB, free: 8.793 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001906/0.2894, allocations: 0.5978 MB / 0.6545 GB, free: 8.145 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003206/0.2927, allocations: 0.5801 MB / 0.655 GB, free: 7.555 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002717/0.293, allocations: 96.8 kB / 0.6551 GB, free: 7.457 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 3.507e-05/0.293, allocations: 4 kB / 0.6551 GB, free: 7.453 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.073e-05/0.2931, allocations: 42.88 kB / 0.6552 GB, free: 7.402 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=22): time 2.965e-06/0.2931, allocations: 0 / 0.6552 GB, free: 7.402 MB / 0.4983 GB Notification: Performance of matching and sorting (n=22): time 0.001133/0.2942, allocations: 312.1 kB / 0.6555 GB, free: 7.094 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.794e-05/0.2943, allocations: 51.41 kB / 0.6555 GB, free: 7.031 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001925/0.2945, allocations: 121.8 kB / 0.6556 GB, free: 6.902 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 5.156e-05/0.2946, allocations: 37.7 kB / 0.6557 GB, free: 6.859 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 9.81e-05/0.2947, allocations: 104.5 kB / 0.6558 GB, free: 6.754 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001583/0.2949, allocations: 98.64 kB / 0.6559 GB, free: 6.656 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001812/0.2951, allocations: 73.69 kB / 0.6559 GB, free: 6.578 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0002242/0.2953, allocations: 326.8 kB / 0.6563 GB, free: 6.25 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003653/0.2957, allocations: 111.9 kB / 0.6564 GB, free: 6.141 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003344/0.296, allocations: 115.6 kB / 0.6565 GB, free: 6.027 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007158/0.2968, allocations: 261.6 kB / 0.6567 GB, free: 5.77 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.2968, allocations: 0 / 0.6567 GB, free: 5.77 MB / 0.4983 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009277/0.2977, allocations: 333.6 kB / 0.657 GB, free: 5.438 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 2.639e-05/0.2978, allocations: 4 kB / 0.657 GB, free: 5.434 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.2978, allocations: 0 / 0.657 GB, free: 5.434 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.642e-05/0.2978, allocations: 11.94 kB / 0.6571 GB, free: 5.422 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007896/0.2986, allocations: 111.9 kB / 0.6572 GB, free: 5.312 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.998e-05/0.2987, allocations: 4.359 kB / 0.6572 GB, free: 5.309 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002521/0.2989, allocations: 23.75 kB / 0.6572 GB, free: 5.285 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.327e-05/0.299, allocations: 12 kB / 0.6572 GB, free: 5.273 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 (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 prepare postOptimizeDAE: time 0.0002278/0.2992, allocations: 142.6 kB / 0.6573 GB, free: 5.125 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.789e-05/0.2993, allocations: 11.84 kB / 0.6573 GB, free: 5.113 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001508/0.2995, allocations: 32.84 kB / 0.6574 GB, free: 5.078 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.2995, allocations: 4 kB / 0.6574 GB, free: 5.074 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.54e-05/0.2995, allocations: 0 / 0.6574 GB, free: 5.074 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.2996, allocations: 3.938 kB / 0.6574 GB, free: 5.07 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006436/0.3002, allocations: 273.3 kB / 0.6576 GB, free: 4.754 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.3002, allocations: 0 / 0.6576 GB, free: 4.754 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001237/0.3015, allocations: 111.9 kB / 0.6577 GB, free: 4.645 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/0.3015, allocations: 0 / 0.6577 GB, free: 4.645 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.239e-05/0.3016, allocations: 15.98 kB / 0.6578 GB, free: 4.629 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.3016, allocations: 0 / 0.6578 GB, free: 4.629 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.3016, allocations: 0 / 0.6578 GB, free: 4.629 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001046/0.3027, allocations: 442.6 kB / 0.6582 GB, free: 4.184 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 9.891e-05/0.3028, allocations: 84.95 kB / 0.6583 GB, free: 4.082 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.354e-05/0.3029, allocations: 11.98 kB / 0.6583 GB, free: 4.07 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002708/0.3031, allocations: 11.98 kB / 0.6583 GB, free: 4.059 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.384e-05/0.3032, allocations: 15.97 kB / 0.6583 GB, free: 4.043 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.013e-05/0.3033, allocations: 12 kB / 0.6583 GB, free: 4.031 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 9.197e-05/0.3034, allocations: 91.27 kB / 0.6584 GB, free: 3.941 MB / 0.4983 GB Notification: Performance of sort global known variables: time 2.21e-07/0.3034, allocations: 4 kB / 0.6584 GB, free: 3.938 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0005374/0.3039, allocations: 67.84 kB / 0.6585 GB, free: 3.871 MB / 0.4983 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (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],vol[1],vol[2],vol[3],vol[4],vol[5],vol[6],vol[7],vol[8],vol[9],vol[10],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 (22): * Single equations (assignments): 22 * 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.001647/0.3056, allocations: 0.9614 MB / 0.6594 GB, free: 2.887 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0008504/0.3065, allocations: 255.1 kB / 0.6597 GB, free: 2.641 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.3065, allocations: 4 kB / 0.6597 GB, free: 2.637 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.0002928/0.3068, allocations: 115.8 kB / 0.6598 GB, free: 2.523 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004883/0.3073, allocations: 15.98 kB / 0.6598 GB, free: 2.508 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007321/0.3146, allocations: 3.597 MB / 0.6633 GB, free: 14.82 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006526/0.3153, allocations: 0.7478 MB / 0.664 GB, free: 14.04 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.0003485/0.3157, allocations: 77.41 kB / 0.6641 GB, free: 13.96 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002035/0.3159, allocations: 51.42 kB / 0.6642 GB, free: 13.91 MB / 0.5139 GB Notification: Performance of SimCode: time 9.21e-07/0.3159, allocations: 0 / 0.6642 GB, free: 13.91 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03126/0.3472, allocations: 4.255 MB / 0.6683 GB, free: 9.852 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/12.03, allocations: 7.891 kB / 0.6683 GB, free: 9.844 MB / 0.5139 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineEquations_N_10_fmu --startTime=0 --stopTime=4e-06 --timeout=300 --tolerance=1e-08 ScalableTestSuite_ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineEquations_N_10.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.pipe 2>&1)