Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2.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.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemAC_Verification_DistributionSystemLinearIndividual_N_2_M_2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemAC_Verification_DistributionSystemLinearIndividual_N_2_M_2",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.001006/0.001006, allocations: 185.2 kB / 8.135 MB, free: 2.133 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.037/1.037, allocations: 221.4 MB / 229.9 MB, free: 3.086 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.0008925/0.0008925, allocations: 106.2 kB / 280.8 MB, free: 1.324 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6135/0.6135, allocations: 120.4 MB / 452 MB, free: 13.02 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2928/0.9064, allocations: 88.97 MB / 0.5283 GB, free: 52.34 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/1.008, allocations: 82.84 MB / 0.6092 GB, free: 3.504 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4277/1.436, allocations: 126.8 MB / 0.7331 GB, free: 3.156 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001032/1.436, allocations: 51.48 kB / 0.7331 GB, free: 3.133 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: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.07284/1.509, allocations: 40.68 MB / 0.7728 GB, free: 3.668 MB / 0.5265 GB Notification: Performance of prepare preOptimizeDAE: time 3.082e-05/1.509, allocations: 8 kB / 0.7728 GB, free: 3.66 MB / 0.5265 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001701/1.509, allocations: 110.7 kB / 0.7729 GB, free: 3.551 MB / 0.5265 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006336/1.51, allocations: 0.5491 MB / 0.7735 GB, free: 3.109 MB / 0.5265 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.547e-05/1.51, allocations: 40 kB / 0.7735 GB, free: 3.07 MB / 0.5265 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/1.51, allocations: 72 kB / 0.7736 GB, free: 3 MB / 0.5265 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00115/1.511, allocations: 0.7571 MB / 0.7743 GB, free: 2.566 MB / 0.5265 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001343/1.512, allocations: 0.9485 MB / 0.7752 GB, free: 1.863 MB / 0.5265 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.378e-05/1.512, allocations: 8 kB / 0.7753 GB, free: 1.855 MB / 0.5265 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.135e-05/1.513, allocations: 4 kB / 0.7753 GB, free: 1.852 MB / 0.5265 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.32e-05/1.513, allocations: 28 kB / 0.7753 GB, free: 1.824 MB / 0.5265 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004486/1.517, allocations: 4.308 MB / 0.7795 GB, free: 14.48 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006664/1.518, allocations: 461.4 kB / 0.7799 GB, free: 14.18 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003167/1.518, allocations: 282 kB / 0.7802 GB, free: 14.01 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 2.753e-05/1.518, allocations: 8.438 kB / 0.7802 GB, free: 14 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.81e-05/1.518, allocations: 38.81 kB / 0.7802 GB, free: 13.96 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=53): time 2.644e-06/1.518, allocations: 0 / 0.7802 GB, free: 13.96 MB / 0.5421 GB Notification: Performance of matching and sorting (n=53): time 0.001205/1.519, allocations: 0.6735 MB / 0.7809 GB, free: 13.46 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.379e-05/1.519, allocations: 63.78 kB / 0.781 GB, free: 13.39 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003022/1.52, allocations: 322.6 kB / 0.7813 GB, free: 13.14 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 2.749e-05/1.52, allocations: 25.7 kB / 0.7813 GB, free: 13.11 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002057/1.52, allocations: 464.3 kB / 0.7817 GB, free: 12.69 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.000109/1.52, allocations: 179.6 kB / 0.7819 GB, free: 12.54 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.995e-05/1.52, allocations: 0 / 0.7819 GB, free: 12.54 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0001159/1.52, allocations: 353.8 kB / 0.7822 GB, free: 12.2 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002345/1.52, allocations: 182.3 kB / 0.7824 GB, free: 12.1 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003549/1.521, allocations: 395.9 kB / 0.7828 GB, free: 11.71 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003236/1.521, allocations: 249.6 kB / 0.783 GB, free: 11.56 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/1.521, allocations: 0 / 0.783 GB, free: 11.56 MB / 0.5421 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001367/1.522, allocations: 0.8695 MB / 0.7839 GB, free: 10.9 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/1.523, allocations: 4 kB / 0.7839 GB, free: 10.9 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/1.523, allocations: 8 kB / 0.7839 GB, free: 10.89 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008957/1.523, allocations: 373.2 kB / 0.7843 GB, free: 10.6 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002511/1.524, allocations: 83.78 kB / 0.7843 GB, free: 10.52 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004526/1.528, allocations: 3.636 MB / 0.7879 GB, free: 7.742 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003068/1.529, allocations: 55.22 kB / 0.7879 GB, free: 7.688 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.769e-05/1.529, allocations: 31.62 kB / 0.788 GB, free: 7.664 MB / 0.5421 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 4 (load_2_2.controller.local_reset,load_2_1.controller.local_reset,load_1_2.controller.local_reset,load_1_1.controller.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(7,81.6%) 30} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000109/1.529, allocations: 120.8 kB / 0.7881 GB, free: 7.539 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.054e-05/1.529, allocations: 43.44 kB / 0.7881 GB, free: 7.496 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.503e-05/1.529, allocations: 58.83 kB / 0.7882 GB, free: 7.465 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/1.529, allocations: 4 kB / 0.7882 GB, free: 7.461 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/1.529, allocations: 4 kB / 0.7882 GB, free: 7.457 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/1.529, allocations: 3.984 kB / 0.7882 GB, free: 7.453 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006195/1.53, allocations: 0.6571 MB / 0.7888 GB, free: 6.949 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/1.53, allocations: 3.938 kB / 0.7888 GB, free: 6.945 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001644/1.53, allocations: 27.92 kB / 0.7889 GB, free: 6.918 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008531/1.531, allocations: 360.2 kB / 0.7892 GB, free: 6.637 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.406e-05/1.531, allocations: 3.875 kB / 0.7892 GB, free: 6.637 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004397/1.535, allocations: 3.617 MB / 0.7927 GB, free: 3.875 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/1.535, allocations: 3.984 kB / 0.7927 GB, free: 3.871 MB / 0.5421 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001449/1.536, allocations: 1.045 MB / 0.7938 GB, free: 3.133 MB / 0.5421 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001844/1.538, allocations: 1.674 MB / 0.7954 GB, free: 1.891 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 8.838e-05/1.538, allocations: 128.3 kB / 0.7955 GB, free: 1.75 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.801e-05/1.538, allocations: 4 kB / 0.7955 GB, free: 1.746 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002232/1.539, allocations: 0 / 0.7955 GB, free: 1.746 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.803e-05/1.539, allocations: 32.2 kB / 0.7956 GB, free: 1.719 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.273e-05/1.539, allocations: 15.94 kB / 0.7956 GB, free: 1.707 MB / 0.5421 GB Notification: Performance of sort global known variables: time 0.0001983/1.539, allocations: 234.8 kB / 0.7958 GB, free: 1.535 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.00123/1.54, allocations: 290.2 kB / 0.7961 GB, free: 1.258 MB / 0.5421 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (load_1_1.controller.y,load_1_2.controller.y,load_2_1.controller.y,load_2_2.controller.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(7,75.5%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000149/1.54, allocations: 116.2 kB / 0.7962 GB, free: 1.137 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.001109/1.542, allocations: 0.7374 MB / 0.7969 GB, free: 0.5938 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/1.542, allocations: 4 kB / 0.7969 GB, free: 0.5898 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.000703/1.542, allocations: 478.7 kB / 0.7974 GB, free: 236 kB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002918/1.543, allocations: 41.25 kB / 0.7974 GB, free: 208 kB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001715/1.544, allocations: 1.036 MB / 0.7984 GB, free: 15.27 MB / 0.5578 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005564/1.545, allocations: 1.014 MB / 0.7994 GB, free: 14.23 MB / 0.5578 GB Notification: Performance of SimCode: time 3.41e-07/1.545, allocations: 3.938 kB / 0.7994 GB, free: 14.23 MB / 0.5578 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemAC_Verification_DistributionSystemLinearIndividual_N_2_M_2_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemAC_Verification_DistributionSystemLinearIndividual_N_2_M_2.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2_res.mat does not exist to compare? outputFormat=mat