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/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.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"}) [:1:1-1:33:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009074/0.0009074, allocations: 182 kB / 8.129 MB, free: 2.219 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.989/0.989, allocations: 221.4 MB / 229.9 MB, free: 3.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008124/0.0008124, allocations: 105.1 kB / 280.8 MB, free: 1.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.5464/0.5464, allocations: 120.4 MB / 452 MB, free: 13.01 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2822/0.8286, allocations: 89.72 MB / 0.529 GB, free: 51.69 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09356/0.9222, allocations: 82.85 MB / 0.6099 GB, free: 2.727 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3841/1.306, allocations: 124.7 MB / 0.7317 GB, free: 4.227 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001337/1.306, allocations: 60.92 kB / 0.7317 GB, free: 4.203 MB / 0.4953 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.01297/1.319, allocations: 4.718 MB / 0.7363 GB, free: 192 kB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 2.593e-05/1.319, allocations: 8 kB / 0.7363 GB, free: 184 kB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.579e-05/1.32, allocations: 36.33 kB / 0.7364 GB, free: 148 kB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002873/1.32, allocations: 257.1 kB / 0.7366 GB, free: 15.85 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/1.32, allocations: 11.91 kB / 0.7366 GB, free: 15.84 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.199e-05/1.32, allocations: 35.34 kB / 0.7367 GB, free: 15.81 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002917/1.32, allocations: 197.8 kB / 0.7369 GB, free: 15.66 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004309/1.321, allocations: 316.1 kB / 0.7372 GB, free: 15.4 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/1.321, allocations: 0 / 0.7372 GB, free: 15.4 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.954e-05/1.321, allocations: 3.906 kB / 0.7372 GB, free: 15.39 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/1.321, allocations: 8 kB / 0.7372 GB, free: 15.39 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00179/1.323, allocations: 0.9656 MB / 0.7381 GB, free: 14.46 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004441/1.323, allocations: 428.7 kB / 0.7385 GB, free: 14.14 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000204/1.323, allocations: 176.2 kB / 0.7387 GB, free: 14.02 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 2.91e-05/1.323, allocations: 4 kB / 0.7387 GB, free: 14.01 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.639e-05/1.323, allocations: 33.06 kB / 0.7387 GB, free: 13.97 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=42): time 2.335e-06/1.323, allocations: 0 / 0.7387 GB, free: 13.97 MB / 0.5109 GB Notification: Performance of matching and sorting (n=42): time 0.0005756/1.324, allocations: 418.5 kB / 0.7391 GB, free: 13.64 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.139e-05/1.324, allocations: 55.41 kB / 0.7392 GB, free: 13.57 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.957e-05/1.324, allocations: 125.6 kB / 0.7393 GB, free: 13.45 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 3.006e-05/1.324, allocations: 25.7 kB / 0.7393 GB, free: 13.42 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 3.739e-05/1.324, allocations: 108.6 kB / 0.7394 GB, free: 13.31 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/1.324, allocations: 187.3 kB / 0.7396 GB, free: 13.15 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.244e-05/1.324, allocations: 3.938 kB / 0.7396 GB, free: 13.15 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 8.387e-05/1.324, allocations: 343.5 kB / 0.7399 GB, free: 12.82 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002587/1.325, allocations: 213 kB / 0.7401 GB, free: 12.66 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002551/1.325, allocations: 215.1 kB / 0.7403 GB, free: 12.5 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003005/1.325, allocations: 262.5 kB / 0.7406 GB, free: 12.31 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/1.325, allocations: 4 kB / 0.7406 GB, free: 12.31 MB / 0.5109 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0006949/1.326, allocations: 0.5826 MB / 0.7412 GB, free: 11.82 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 8.786e-06/1.326, allocations: 4 kB / 0.7412 GB, free: 11.82 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/1.326, allocations: 7.844 kB / 0.7412 GB, free: 11.81 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/1.326, allocations: 4 kB / 0.7412 GB, free: 11.81 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008339/1.327, allocations: 213.5 kB / 0.7414 GB, free: 11.61 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/1.327, allocations: 5.484 kB / 0.7414 GB, free: 11.6 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002207/1.327, allocations: 43.52 kB / 0.7414 GB, free: 11.56 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.338e-05/1.327, allocations: 18.94 kB / 0.7415 GB, free: 11.55 MB / 0.5109 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001037/1.327, allocations: 109.2 kB / 0.7416 GB, free: 11.43 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.592e-05/1.327, allocations: 23.72 kB / 0.7416 GB, free: 11.41 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.205e-05/1.327, allocations: 41.44 kB / 0.7416 GB, free: 11.41 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/1.327, allocations: 4 kB / 0.7416 GB, free: 11.4 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/1.327, allocations: 4 kB / 0.7416 GB, free: 11.4 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/1.327, allocations: 3.984 kB / 0.7416 GB, free: 11.39 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003563/1.328, allocations: 348.4 kB / 0.742 GB, free: 11.05 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/1.328, allocations: 0 / 0.742 GB, free: 11.05 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001241/1.329, allocations: 215.1 kB / 0.7422 GB, free: 10.85 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/1.329, allocations: 1.438 kB / 0.7422 GB, free: 10.85 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.385e-05/1.329, allocations: 27.41 kB / 0.7422 GB, free: 10.82 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/1.329, allocations: 0 / 0.7422 GB, free: 10.82 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/1.329, allocations: 0 / 0.7422 GB, free: 10.82 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007045/1.33, allocations: 0.6796 MB / 0.7429 GB, free: 10.25 MB / 0.5109 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009976/1.331, allocations: 1.257 MB / 0.7441 GB, free: 9.148 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 3.962e-05/1.331, allocations: 100.8 kB / 0.7442 GB, free: 9.031 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.624e-05/1.331, allocations: 15.98 kB / 0.7442 GB, free: 9.016 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002638/1.331, allocations: 11.98 kB / 0.7442 GB, free: 9.004 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.409e-05/1.331, allocations: 27.39 kB / 0.7442 GB, free: 8.98 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.942e-05/1.331, allocations: 13.19 kB / 0.7442 GB, free: 8.973 MB / 0.5109 GB Notification: Performance of sort global known variables: time 3.742e-05/1.331, allocations: 90.58 kB / 0.7443 GB, free: 8.887 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0008256/1.332, allocations: 99.84 kB / 0.7444 GB, free: 8.789 MB / 0.5109 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001246/1.332, allocations: 131.4 kB / 0.7446 GB, free: 8.652 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.0005349/1.333, allocations: 477.1 kB / 0.745 GB, free: 8.297 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/1.333, allocations: 0 / 0.745 GB, free: 8.297 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 0.0002367/1.333, allocations: 226.7 kB / 0.7452 GB, free: 8.129 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001592/1.333, allocations: 12.88 kB / 0.7452 GB, free: 8.121 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002863/1.336, allocations: 2.889 MB / 0.7481 GB, free: 5.227 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005019/1.337, allocations: 0.9539 MB / 0.749 GB, free: 4.262 MB / 0.5109 GB Notification: Performance of SimCode: time 2.1e-07/1.337, allocations: 0 / 0.749 GB, free: 4.262 MB / 0.5109 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/linux/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)