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/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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009089/0.0009088, allocations: 86.11 kB / 16.31 MB, free: 6.414 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.000902/0.000902, allocations: 183.7 kB / 17.21 MB, free: 6.285 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.131/1.131, allocations: 223.2 MB / 241.2 MB, free: 340 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7958/0.7958, allocations: 120.5 MB / 412.8 MB, free: 9.176 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002637/0.0002637, allocations: 12 kB / 0.4944 GB, free: 11.63 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4206/0.4208, allocations: 82.84 MB / 0.5753 GB, free: 41.98 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2): time 0.004506/0.4254, allocations: 6.881 MB / 0.582 GB, free: 36.5 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001369/0.4268, allocations: 1.342 MB / 0.5833 GB, free: 35.37 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002658/0.427, allocations: 32.53 kB / 0.5833 GB, free: 35.37 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0004747/0.4275, allocations: 281.1 kB / 0.5836 GB, free: 35.15 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0003296/0.4279, allocations: 227.6 kB / 0.5838 GB, free: 34.96 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009628/0.4288, allocations: 0.6762 MB / 0.5845 GB, free: 34.45 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0006697/0.4295, allocations: 0.9211 MB / 0.5854 GB, free: 33.9 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004994/0.43, allocations: 472.8 kB / 0.5858 GB, free: 33.62 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001993/0.4302, allocations: 316.8 kB / 0.5861 GB, free: 33.45 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004458/0.4307, allocations: 481.4 kB / 0.5866 GB, free: 33.17 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 7.572e-05/0.4308, allocations: 51.12 kB / 0.5866 GB, free: 33.17 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002947/0.4311, allocations: 161.7 kB / 0.5868 GB, free: 33.12 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 8.615e-05/0.4312, allocations: 161 kB / 0.5869 GB, free: 32.99 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001372/0.4313, allocations: 224.4 kB / 0.5872 GB, free: 32.85 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0007845/0.4321, allocations: 1.326 MB / 0.5884 GB, free: 31.8 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.4321, allocations: 0 / 0.5884 GB, free: 31.8 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.332e-06/0.4321, allocations: 0 / 0.5884 GB, free: 31.8 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.038e-05/0.4321, allocations: 0 / 0.5884 GB, free: 31.8 MB / 462.3 MB 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.003366/0.4355, allocations: 1.616 MB / 0.59 GB, free: 30.68 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.4355, allocations: 12.66 kB / 0.59 GB, free: 30.68 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001441/0.4357, allocations: 172.1 kB / 0.5902 GB, free: 30.54 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000128/0.4358, allocations: 109.3 kB / 0.5903 GB, free: 30.48 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005091/0.4363, allocations: 0.5549 MB / 0.5908 GB, free: 29.98 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.28e-05/0.4364, allocations: 94.25 kB / 0.5909 GB, free: 29.93 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/0.4365, allocations: 121 kB / 0.5911 GB, free: 29.89 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001328/0.4379, allocations: 1.15 MB / 0.5922 GB, free: 28.81 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/0.4379, allocations: 0 / 0.5922 GB, free: 28.81 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.497e-05/0.438, allocations: 52 kB / 0.5922 GB, free: 28.76 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.606e-05/0.438, allocations: 28 kB / 0.5922 GB, free: 28.73 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001023/0.439, allocations: 0.8523 MB / 0.5931 GB, free: 27.87 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003472/0.4425, allocations: 4.489 MB / 0.5975 GB, free: 23.22 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006604/0.4431, allocations: 0.5392 MB / 0.598 GB, free: 22.67 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002846/0.4434, allocations: 315.1 kB / 0.5983 GB, free: 22.36 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.73e-05/0.4435, allocations: 4.438 kB / 0.5983 GB, free: 22.35 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.662e-05/0.4435, allocations: 43 kB / 0.5983 GB, free: 22.3 MB / 462.3 MB Notification: Performance of pre-optimization done (n=53): time 1.453e-06/0.4435, allocations: 0 / 0.5983 GB, free: 22.3 MB / 462.3 MB Notification: Performance of matching and sorting (n=53): time 0.003926/0.4474, allocations: 1.725 MB / 0.6 GB, free: 20.54 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.68e-05/0.4475, allocations: 59.8 kB / 0.6001 GB, free: 20.47 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003278/0.4478, allocations: 457.8 kB / 0.6005 GB, free: 20.02 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.4478, allocations: 33.69 kB / 0.6005 GB, free: 19.98 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001626/0.448, allocations: 494.1 kB / 0.601 GB, free: 19.49 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 8.198e-05/0.4481, allocations: 181.3 kB / 0.6012 GB, free: 19.31 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.212e-05/0.4481, allocations: 16 kB / 0.6012 GB, free: 19.3 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.893e-05/0.4482, allocations: 358.8 kB / 0.6015 GB, free: 18.94 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002183/0.4484, allocations: 197.9 kB / 0.6017 GB, free: 18.74 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002854/0.4487, allocations: 427.6 kB / 0.6021 GB, free: 18.22 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002907/0.449, allocations: 270.1 kB / 0.6024 GB, free: 17.96 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.449, allocations: 7.938 kB / 0.6024 GB, free: 17.95 MB / 462.3 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.00127/0.4503, allocations: 0.983 MB / 0.6034 GB, free: 16.96 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.4503, allocations: 10.34 kB / 0.6034 GB, free: 16.95 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.4503, allocations: 8 kB / 0.6034 GB, free: 16.94 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007381/0.4511, allocations: 388.2 kB / 0.6038 GB, free: 16.56 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002075/0.4513, allocations: 83.84 kB / 0.6038 GB, free: 16.48 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003644/0.4549, allocations: 3.919 MB / 0.6077 GB, free: 12.42 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002649/0.4552, allocations: 71.22 kB / 0.6077 GB, free: 12.35 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.041e-05/0.4552, allocations: 35.98 kB / 0.6078 GB, free: 12.32 MB / 462.3 MB 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 () * Number of clocked 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,75.5%) 30} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002191/0.4555, allocations: 261.6 kB / 0.608 GB, free: 12.05 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.732e-05/0.4555, allocations: 47.34 kB / 0.6081 GB, free: 12 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001016/0.4556, allocations: 65.23 kB / 0.6081 GB, free: 11.94 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.4556, allocations: 4 kB / 0.6081 GB, free: 11.93 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/0.4557, allocations: 11.94 kB / 0.6081 GB, free: 11.92 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.4557, allocations: 7.922 kB / 0.6081 GB, free: 11.91 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005668/0.4562, allocations: 0.798 MB / 0.6089 GB, free: 11.07 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.4563, allocations: 7.984 kB / 0.6089 GB, free: 11.06 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001289/0.4564, allocations: 27.94 kB / 0.609 GB, free: 11.03 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006589/0.4571, allocations: 364.7 kB / 0.6093 GB, free: 10.67 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.351e-05/0.4571, allocations: 16 kB / 0.6093 GB, free: 10.66 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003592/0.4607, allocations: 3.924 MB / 0.6132 GB, free: 6.594 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4607, allocations: 0 / 0.6132 GB, free: 6.594 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001228/0.4619, allocations: 1.116 MB / 0.6142 GB, free: 5.461 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 6.43e-05/0.462, allocations: 140.4 kB / 0.6144 GB, free: 5.305 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.991e-05/0.4621, allocations: 15.94 kB / 0.6144 GB, free: 5.289 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001916/0.4623, allocations: 12 kB / 0.6144 GB, free: 5.277 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.68e-05/0.4623, allocations: 40.38 kB / 0.6144 GB, free: 5.234 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.905e-05/0.4623, allocations: 16 kB / 0.6145 GB, free: 5.219 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0002222/0.4626, allocations: 319.1 kB / 0.6148 GB, free: 4.91 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4626, allocations: 0 / 0.6148 GB, free: 4.91 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0007019/0.4633, allocations: 314.8 kB / 0.6151 GB, free: 4.602 MB / 462.3 MB 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 () * Number of clocked 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,77.6%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001392/0.4647, allocations: 1.68 MB / 0.6167 GB, free: 2.891 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001031/0.4657, allocations: 0.882 MB / 0.6176 GB, free: 1.992 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.4657, allocations: 0 / 0.6176 GB, free: 1.992 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0006418/0.4664, allocations: 0.5997 MB / 0.6182 GB, free: 1.383 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004135/0.4668, allocations: 62.8 kB / 0.6182 GB, free: 1.324 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004598/0.4714, allocations: 4.173 MB / 0.6223 GB, free: 13 MB / 478.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004179/0.4718, allocations: 0.9731 MB / 0.6232 GB, free: 12 MB / 478.3 MB Notification: Performance of simCode: alias equations: time 0.0001347/0.472, allocations: 48.77 kB / 0.6233 GB, free: 11.95 MB / 478.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002786/0.4723, allocations: 295.3 kB / 0.6236 GB, free: 11.66 MB / 478.3 MB Notification: Performance of SimCode: time 2.3e-07/0.4723, allocations: 0 / 0.6236 GB, free: 11.66 MB / 478.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02305/0.4953, allocations: 13.77 MB / 0.637 GB, free: 14.18 MB / 494.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00022/0.4956, allocations: 288.1 kB / 0.6373 GB, free: 13.82 MB / 494.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.803/2.298, allocations: 0 / 0.6373 GB, free: 13.82 MB / 494.3 MB (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) Environment - environmentSimulation: 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