Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar.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.BreakerCircuits.Verification.BreakerNetwork_3_Scalar,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_BreakerCircuits_Verification_BreakerNetwork_3_Scalar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_BreakerCircuits_Verification_BreakerNetwork_3_Scalar",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.0009453/0.0009454, allocations: 89.78 kB / 16.3 MB, free: 6.461 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.0008446/0.0008446, allocations: 172.8 kB / 17.19 MB, free: 6.348 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.196/1.196, allocations: 223.2 MB / 241.1 MB, free: 14.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7945/0.7945, allocations: 120.5 MB / 412.7 MB, free: 9.262 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002749/0.0002749, allocations: 4 kB / 0.4943 GB, free: 11.72 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4626/0.4629, allocations: 82.84 MB / 0.5752 GB, free: 41.39 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar): time 0.002027/0.4649, allocations: 2.281 MB / 0.5774 GB, free: 39.61 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0008104/0.4658, allocations: 0.6939 MB / 0.5781 GB, free: 39.06 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001144/0.4659, allocations: 6.844 kB / 0.5781 GB, free: 39.06 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 5.591e-05/0.466, allocations: 35.47 kB / 0.5781 GB, free: 39.03 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001905/0.4662, allocations: 112.5 kB / 0.5782 GB, free: 38.93 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003084/0.4665, allocations: 97.84 kB / 0.5783 GB, free: 38.85 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.000309/0.4668, allocations: 267.5 kB / 0.5786 GB, free: 38.68 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001691/0.467, allocations: 97.95 kB / 0.5787 GB, free: 38.62 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001038/0.4671, allocations: 126.6 kB / 0.5788 GB, free: 38.55 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001485/0.4672, allocations: 133.4 kB / 0.5789 GB, free: 38.47 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 3.598e-05/0.4673, allocations: 16.59 kB / 0.5789 GB, free: 38.47 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 6.498e-05/0.4673, allocations: 18.12 kB / 0.5789 GB, free: 38.47 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 4.438e-05/0.4674, allocations: 61.7 kB / 0.579 GB, free: 38.42 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 6.194e-05/0.4675, allocations: 86.11 kB / 0.5791 GB, free: 38.36 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002041/0.4677, allocations: 272.2 kB / 0.5793 GB, free: 38.16 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.4677, allocations: 1.375 kB / 0.5793 GB, free: 38.16 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4677, allocations: 4 kB / 0.5793 GB, free: 38.16 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.4677, allocations: 0 / 0.5793 GB, free: 38.16 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.0007476/0.4685, allocations: 0.6023 MB / 0.5799 GB, free: 37.63 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.4685, allocations: 9.625 kB / 0.5799 GB, free: 37.63 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.043e-05/0.4686, allocations: 68.09 kB / 0.58 GB, free: 37.57 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.285e-05/0.4686, allocations: 34.88 kB / 0.58 GB, free: 37.55 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002404/0.4689, allocations: 268.3 kB / 0.5803 GB, free: 37.27 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.4689, allocations: 24.97 kB / 0.5803 GB, free: 37.26 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.797e-05/0.469, allocations: 31.19 kB / 0.5803 GB, free: 37.25 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003768/0.4693, allocations: 263 kB / 0.5806 GB, free: 37.09 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.4694, allocations: 1.531 kB / 0.5806 GB, free: 37.09 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.893e-05/0.4694, allocations: 18.83 kB / 0.5806 GB, free: 37.07 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/0.4694, allocations: 6.281 kB / 0.5806 GB, free: 37.07 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003099/0.4697, allocations: 191.4 kB / 0.5808 GB, free: 36.99 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001305/0.471, allocations: 1.018 MB / 0.5818 GB, free: 36.16 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000273/0.4713, allocations: 204.4 kB / 0.582 GB, free: 36.04 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.375e-05/0.4713, allocations: 2.781 kB / 0.582 GB, free: 36.04 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003274/0.4717, allocations: 219.7 kB / 0.5822 GB, free: 35.86 MB / 462.3 MB Notification: Performance of pre-optimization done (n=30): time 1.402e-06/0.4717, allocations: 0 / 0.5822 GB, free: 35.86 MB / 462.3 MB Notification: Performance of matching and sorting (n=30): time 0.00125/0.4729, allocations: 0.5511 MB / 0.5827 GB, free: 35.53 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.381e-05/0.473, allocations: 177 kB / 0.5829 GB, free: 35.33 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001659/0.4732, allocations: 218.7 kB / 0.5831 GB, free: 35.16 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.737e-05/0.4732, allocations: 37.61 kB / 0.5832 GB, free: 35.12 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 8.597e-05/0.4733, allocations: 179.9 kB / 0.5833 GB, free: 34.96 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 5.095e-05/0.4734, allocations: 90.77 kB / 0.5834 GB, free: 34.88 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.088e-05/0.4734, allocations: 4.906 kB / 0.5834 GB, free: 34.88 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.819e-05/0.4734, allocations: 337.3 kB / 0.5837 GB, free: 34.55 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.4736, allocations: 79.94 kB / 0.5838 GB, free: 34.51 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001814/0.4738, allocations: 157.8 kB / 0.584 GB, free: 34.39 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/0.4739, allocations: 104.3 kB / 0.5841 GB, free: 34.34 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4739, allocations: 4 kB / 0.5841 GB, free: 34.33 MB / 462.3 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005246/0.4745, allocations: 369.2 kB / 0.5844 GB, free: 34.13 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.4745, allocations: 5.031 kB / 0.5844 GB, free: 34.13 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.4745, allocations: 1.25 kB / 0.5844 GB, free: 34.13 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002713/0.4748, allocations: 86.3 kB / 0.5845 GB, free: 34.09 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001526/0.4749, allocations: 33.17 kB / 0.5845 GB, free: 34.08 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001322/0.4763, allocations: 1.789 MB / 0.5863 GB, free: 32.46 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002259/0.4765, allocations: 49.05 kB / 0.5863 GB, free: 32.43 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.761e-05/0.4765, allocations: 12.84 kB / 0.5864 GB, free: 32.43 MB / 462.3 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition5,$PRE.B1.open,B1.open,$whenCondition3,$PRE.B2.open,B2.open,$whenCondition1,$PRE.B3.open,B3.open,$whenCondition6,$whenCondition4,$whenCondition2,$PRE.B1.G,B1.G,$PRE.B2.G,B2.G,$PRE.B3.G,B3.G) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * 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 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001201/0.4767, allocations: 162.8 kB / 0.5865 GB, free: 32.28 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.394e-05/0.4767, allocations: 25.59 kB / 0.5865 GB, free: 32.27 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.336e-05/0.4768, allocations: 28 kB / 0.5866 GB, free: 32.25 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.4768, allocations: 3.781 kB / 0.5866 GB, free: 32.25 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.667e-06/0.4768, allocations: 2.531 kB / 0.5866 GB, free: 32.25 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.4768, allocations: 3.984 kB / 0.5866 GB, free: 32.24 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000242/0.477, allocations: 362.4 kB / 0.5869 GB, free: 31.91 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.477, allocations: 1.25 kB / 0.5869 GB, free: 31.91 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.508e-05/0.4771, allocations: 21.27 kB / 0.5869 GB, free: 31.9 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001786/0.4773, allocations: 86.97 kB / 0.587 GB, free: 31.86 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.4774, allocations: 6.5 kB / 0.587 GB, free: 31.85 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001276/0.4786, allocations: 1.774 MB / 0.5888 GB, free: 30.23 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4786, allocations: 0.9062 kB / 0.5888 GB, free: 30.23 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006202/0.4793, allocations: 450.5 kB / 0.5892 GB, free: 29.97 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 4.239e-05/0.4793, allocations: 107.2 kB / 0.5893 GB, free: 29.86 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.273e-05/0.4794, allocations: 6.781 kB / 0.5893 GB, free: 29.85 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001913/0.4796, allocations: 34.64 kB / 0.5893 GB, free: 29.84 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.038e-05/0.4796, allocations: 26.58 kB / 0.5894 GB, free: 29.82 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.143e-05/0.4797, allocations: 8.5 kB / 0.5894 GB, free: 29.82 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0001038/0.4798, allocations: 171.5 kB / 0.5895 GB, free: 29.7 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4798, allocations: 0 / 0.5895 GB, free: 29.7 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.000351/0.4801, allocations: 111.9 kB / 0.5896 GB, free: 29.67 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (firstOrder.y) * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,B1.open,B1.G,B2.open,B2.G,B3.open,B3.G) * Number of discrete states: 3 (B3.open,B2.open,B1.open) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009335/0.4811, allocations: 1.015 MB / 0.5906 GB, free: 28.86 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0006383/0.4817, allocations: 406.6 kB / 0.591 GB, free: 28.61 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.4817, allocations: 1.188 kB / 0.591 GB, free: 28.61 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003625/0.4821, allocations: 285.5 kB / 0.5913 GB, free: 28.41 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002446/0.4824, allocations: 38.23 kB / 0.5913 GB, free: 28.39 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002003/0.4844, allocations: 2.192 MB / 0.5935 GB, free: 26.69 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001973/0.4846, allocations: 0.789 MB / 0.5942 GB, free: 25.94 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 8.69e-05/0.4847, allocations: 21.64 kB / 0.5943 GB, free: 25.93 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.136e-05/0.4848, allocations: 86.78 kB / 0.5943 GB, free: 25.85 MB / 462.3 MB Notification: Performance of SimCode: time 2.51e-07/0.4848, allocations: 3.938 kB / 0.5943 GB, free: 25.85 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01585/0.5006, allocations: 6.06 MB / 0.6003 GB, free: 20.06 MB / 462.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001632/0.5008, allocations: 278.3 kB / 0.6005 GB, free: 19.71 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.673/2.174, allocations: 2.406 kB / 0.6005 GB, free: 19.71 MB / 462.3 MB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_BreakerCircuits_Verification_BreakerNetwork_3_Scalar_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Electrical_BreakerCircuits_Verification_BreakerNetwork_3_Scalar.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar_res.mat does not exist to compare? outputFormat=mat