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.0009551/0.0009551, allocations: 99.23 kB / 16.31 MB, free: 5.992 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.0009091/0.0009092, allocations: 187.3 kB / 17.2 MB, free: 5.91 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.118/1.118, allocations: 223.2 MB / 241.1 MB, free: 5.473 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6336/0.6336, allocations: 120.5 MB / 412.7 MB, free: 12.14 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002682/0.0002682, allocations: 8 kB / 0.4942 GB, free: 11.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1226, allocations: 82.84 MB / 0.5751 GB, free: 8.07 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2): time 0.005321/0.128, allocations: 6.425 MB / 0.5814 GB, free: 1.617 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001582/0.1296, allocations: 1.374 MB / 0.5828 GB, free: 244 kB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002404/0.1299, allocations: 31.94 kB / 0.5828 GB, free: 212 kB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3675/0.4974, allocations: 275.1 kB / 0.5831 GB, free: 10.15 MB / 446.3 MB Notification: Performance of NFTyping.typeBindings: time 0.001005/0.4984, allocations: 270.5 kB / 0.5833 GB, free: 10.15 MB / 446.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.001286/0.4997, allocations: 0.6856 MB / 0.584 GB, free: 10.14 MB / 446.3 MB Notification: Performance of NFFlatten.flatten: time 0.0008039/0.5005, allocations: 0.7239 MB / 0.5847 GB, free: 10.14 MB / 446.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005836/0.5011, allocations: 482.2 kB / 0.5852 GB, free: 10.06 MB / 446.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000233/0.5014, allocations: 312.6 kB / 0.5854 GB, free: 10.06 MB / 446.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004482/0.5018, allocations: 429.8 kB / 0.5859 GB, free: 10.06 MB / 446.3 MB Notification: Performance of NFPackage.collectConstants: time 7.588e-05/0.5019, allocations: 48.41 kB / 0.5859 GB, free: 10.06 MB / 446.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003432/0.5023, allocations: 155.2 kB / 0.5861 GB, free: 10.06 MB / 446.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.5024, allocations: 150.1 kB / 0.5862 GB, free: 10.06 MB / 446.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001492/0.5025, allocations: 228.7 kB / 0.5864 GB, free: 10.03 MB / 446.3 MB Notification: Performance of NFConvertDAE.convert: time 0.00121/0.5037, allocations: 1.299 MB / 0.5877 GB, free: 9.941 MB / 446.3 MB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.5037, allocations: 4 kB / 0.5877 GB, free: 9.938 MB / 446.3 MB Notification: Performance of FrontEnd: time 1.212e-06/0.5038, allocations: 0 / 0.5877 GB, free: 9.938 MB / 446.3 MB Notification: Performance of Transformations before backend: time 1.261e-05/0.5038, allocations: 1.094 kB / 0.5877 GB, free: 9.938 MB / 446.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.003696/0.5075, allocations: 1.606 MB / 0.5893 GB, free: 9.27 MB / 446.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.5075, allocations: 8.906 kB / 0.5893 GB, free: 9.27 MB / 446.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001552/0.5077, allocations: 177.6 kB / 0.5894 GB, free: 9.223 MB / 446.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001421/0.5078, allocations: 110.5 kB / 0.5895 GB, free: 9.168 MB / 446.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005677/0.5084, allocations: 0.5411 MB / 0.5901 GB, free: 8.91 MB / 446.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.492e-05/0.5085, allocations: 87.98 kB / 0.5902 GB, free: 8.906 MB / 446.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001379/0.5086, allocations: 116.2 kB / 0.5903 GB, free: 8.906 MB / 446.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001549/0.5102, allocations: 1.139 MB / 0.5914 GB, free: 8.738 MB / 446.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/0.5102, allocations: 4.312 kB / 0.5914 GB, free: 8.738 MB / 446.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.559e-05/0.5103, allocations: 48 kB / 0.5914 GB, free: 8.738 MB / 446.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.525e-05/0.5103, allocations: 28.75 kB / 0.5915 GB, free: 8.738 MB / 446.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001207/0.5115, allocations: 0.8465 MB / 0.5923 GB, free: 8.723 MB / 446.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004359/0.5159, allocations: 4.435 MB / 0.5966 GB, free: 6.855 MB / 446.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007074/0.5166, allocations: 0.5209 MB / 0.5971 GB, free: 6.586 MB / 446.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.5166, allocations: 6.031 kB / 0.5971 GB, free: 6.586 MB / 446.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.281e-05/0.5166, allocations: 37.28 kB / 0.5972 GB, free: 6.543 MB / 446.3 MB Notification: Performance of pre-optimization done (n=53): time 1.673e-06/0.5167, allocations: 0 / 0.5972 GB, free: 6.543 MB / 446.3 MB Notification: Performance of matching and sorting (n=53): time 0.00457/0.5212, allocations: 1.7 MB / 0.5988 GB, free: 6.031 MB / 446.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.051e-05/0.5213, allocations: 60.62 kB / 0.5989 GB, free: 5.969 MB / 446.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003653/0.5216, allocations: 447.5 kB / 0.5993 GB, free: 5.746 MB / 446.3 MB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.5217, allocations: 39.08 kB / 0.5993 GB, free: 5.703 MB / 446.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001845/0.5218, allocations: 0.4992 MB / 0.5998 GB, free: 5.305 MB / 446.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.522, allocations: 190.6 kB / 0.6 GB, free: 5.16 MB / 446.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.313e-05/0.522, allocations: 14.44 kB / 0.6 GB, free: 5.148 MB / 446.3 MB Notification: Performance of setup shared object (initialization): time 6.605e-05/0.5221, allocations: 359.1 kB / 0.6004 GB, free: 4.816 MB / 446.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002486/0.5223, allocations: 202.2 kB / 0.6006 GB, free: 4.734 MB / 446.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003268/0.5226, allocations: 494.2 kB / 0.601 GB, free: 4.27 MB / 446.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003163/0.523, allocations: 290 kB / 0.6013 GB, free: 4.129 MB / 446.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.523, allocations: 7.078 kB / 0.6013 GB, free: 4.129 MB / 446.3 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.00136/0.5243, allocations: 1.015 MB / 0.6023 GB, free: 3.699 MB / 446.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.5244, allocations: 17.27 kB / 0.6023 GB, free: 3.691 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/0.5244, allocations: 10.16 kB / 0.6023 GB, free: 3.691 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006792/0.5251, allocations: 329.2 kB / 0.6026 GB, free: 3.562 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002912/0.5254, allocations: 114.6 kB / 0.6028 GB, free: 3.543 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003913/0.5293, allocations: 3.817 MB / 0.6065 GB, free: 0.6758 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003708/0.5297, allocations: 88 kB / 0.6066 GB, free: 0.6133 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.283e-05/0.5297, allocations: 37.75 kB / 0.6066 GB, free: 0.6055 MB / 446.3 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (65): * Single equations (assignments): 64 * 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.0002977/0.53, allocations: 268.4 kB / 0.6069 GB, free: 408 kB / 446.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.921e-05/0.5301, allocations: 50.48 kB / 0.6069 GB, free: 380 kB / 446.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.172e-05/0.5302, allocations: 64.2 kB / 0.607 GB, free: 324 kB / 446.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.5302, allocations: 5.531 kB / 0.607 GB, free: 324 kB / 446.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.612e-05/0.5302, allocations: 8.906 kB / 0.607 GB, free: 324 kB / 446.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.5302, allocations: 4.891 kB / 0.607 GB, free: 320 kB / 446.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008212/0.5311, allocations: 0.7745 MB / 0.6077 GB, free: 15.75 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.5311, allocations: 5.062 kB / 0.6077 GB, free: 15.74 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001432/0.5312, allocations: 27.98 kB / 0.6078 GB, free: 15.73 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006831/0.5319, allocations: 316.8 kB / 0.6081 GB, free: 15.61 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.673e-05/0.532, allocations: 17.7 kB / 0.6081 GB, free: 15.59 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004446/0.5364, allocations: 3.807 MB / 0.6118 GB, free: 12.71 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.5364, allocations: 0 / 0.6118 GB, free: 12.71 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001478/0.5379, allocations: 1.072 MB / 0.6129 GB, free: 12.05 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/0.538, allocations: 126.3 kB / 0.613 GB, free: 11.92 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.616e-05/0.5381, allocations: 15.11 kB / 0.613 GB, free: 11.91 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002101/0.5383, allocations: 5.312 kB / 0.613 GB, free: 11.9 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.106e-05/0.5384, allocations: 46.78 kB / 0.613 GB, free: 11.88 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-05/0.5384, allocations: 11.75 kB / 0.6131 GB, free: 11.88 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0002874/0.5387, allocations: 290.7 kB / 0.6133 GB, free: 11.69 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5387, allocations: 4 kB / 0.6133 GB, free: 11.69 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.000876/0.5396, allocations: 305.5 kB / 0.6136 GB, free: 11.6 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.001722/0.5413, allocations: 1.631 MB / 0.6152 GB, free: 10.4 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.00129/0.5426, allocations: 0.9018 MB / 0.6161 GB, free: 9.875 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.5426, allocations: 3.938 kB / 0.6161 GB, free: 9.871 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0008105/0.5435, allocations: 0.5852 MB / 0.6167 GB, free: 9.488 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003149/0.5438, allocations: 52 kB / 0.6167 GB, free: 9.453 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007091/0.5509, allocations: 10.73 MB / 0.6272 GB, free: 15.95 MB / 478.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000456/0.5514, allocations: 0.9968 MB / 0.6282 GB, free: 15.11 MB / 478.3 MB Notification: Performance of simCode: alias equations: time 0.000154/0.5515, allocations: 43.69 kB / 0.6282 GB, free: 15.08 MB / 478.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002752/0.5518, allocations: 292.6 kB / 0.6285 GB, free: 14.82 MB / 478.3 MB Notification: Performance of SimCode: time 3e-07/0.5518, allocations: 0 / 0.6285 GB, free: 14.82 MB / 478.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02347/0.5753, allocations: 13.2 MB / 0.6414 GB, free: 3.73 MB / 478.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001678/0.5755, allocations: 278.2 kB / 0.6417 GB, free: 3.363 MB / 478.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.659/2.235, allocations: 0 / 0.6417 GB, free: 3.363 MB / 478.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