Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Start",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001383/0.001383, allocations: 114.8 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001521/0.001521, allocations: 202 kB / 18.73 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.461/1.461, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 59.89 kB / 358.3 MB, free: 13.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2626/0.2646, allocations: 50.55 MB / 408.8 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start): time 0.0519/0.3165, allocations: 45.94 MB / 454.8 MB, free: 3.395 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02939/0.346, allocations: 12.09 MB / 466.8 MB, free: 7.266 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009624/0.3556, allocations: 366.8 kB / 467.2 MB, free: 6.906 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0297/0.3854, allocations: 12.39 MB / 479.6 MB, free: 10.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01814/0.4035, allocations: 4.811 MB / 484.4 MB, free: 5.652 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01061/0.4141, allocations: 3.049 MB / 487.5 MB, free: 2.617 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.03058/0.4447, allocations: 21.09 MB / 0.4966 GB, free: 13.46 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06953/0.5143, allocations: 41.95 MB / 0.5376 GB, free: 3.238 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.4715/0.9859, allocations: 10.95 MB / 0.5483 GB, free: 40.62 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01639/1.002, allocations: 12.19 MB / 0.5602 GB, free: 39.51 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008102/1.01, allocations: 3.132 MB / 0.5632 GB, free: 39.51 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01041/1.021, allocations: 3.569 MB / 0.5667 GB, free: 39.51 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007962/1.029, allocations: 6.239 MB / 0.5728 GB, free: 38.83 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01883/1.048, allocations: 11.91 MB / 0.5845 GB, free: 32.41 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03844/1.086, allocations: 41.61 MB / 0.6251 GB, free: 0.5391 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/1.086, allocations: 0 / 0.6251 GB, free: 0.5391 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.653e-06/1.086, allocations: 0 / 0.6251 GB, free: 0.5391 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.001124/1.087, allocations: 0 / 0.6251 GB, free: 0.5391 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5030 * Number of variables: 5030 Notification: Performance of Generate backend data structure: time 0.07398/1.161, allocations: 24.39 MB / 0.6489 GB, free: 8.199 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.398e-05/1.161, allocations: 8.031 kB / 0.6489 GB, free: 8.191 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01353/1.175, allocations: 2.951 MB / 0.6518 GB, free: 5.246 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06518/1.24, allocations: 11.48 MB / 0.663 GB, free: 9.883 MB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.037/1.277, allocations: 13.51 MB / 0.6762 GB, free: 12.86 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001823/1.279, allocations: 1.362 MB / 0.6775 GB, free: 11.51 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008639/1.288, allocations: 1.791 MB / 0.6793 GB, free: 9.738 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07906/1.367, allocations: 29.59 MB / 0.7082 GB, free: 12.07 MB / 0.5451 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008765/1.368, allocations: 27.52 kB / 0.7082 GB, free: 12.05 MB / 0.5451 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006093/1.374, allocations: 0.7401 MB / 0.7089 GB, free: 11.33 MB / 0.5451 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00128/1.375, allocations: 0.9907 MB / 0.7099 GB, free: 10.33 MB / 0.5451 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06224/1.438, allocations: 27.3 MB / 0.7365 GB, free: 15.02 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5802/2.018, allocations: 94.04 MB / 0.8284 GB, free: 142.1 MB / 0.5764 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03272/2.05, allocations: 52.58 MB / 0.8797 GB, free: 89.42 MB / 0.5764 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01094/2.061, allocations: 7.354 MB / 0.8869 GB, free: 82.06 MB / 0.5764 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03475/2.096, allocations: 19.7 MB / 0.9062 GB, free: 62.63 MB / 0.5764 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.051e-05/2.096, allocations: 112.5 kB / 0.9063 GB, free: 62.51 MB / 0.5764 GB Notification: Performance of pre-optimization done (n=677): time 1.137e-05/2.096, allocations: 4 kB / 0.9063 GB, free: 62.51 MB / 0.5764 GB Notification: Performance of matching and sorting (n=685): time 0.0817/2.178, allocations: 38.55 MB / 0.9439 GB, free: 24.31 MB / 0.5764 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.301e-05/2.178, allocations: 147.1 kB / 0.944 GB, free: 24.15 MB / 0.5764 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01303/2.191, allocations: 7.148 MB / 0.951 GB, free: 17.1 MB / 0.5764 GB Notification: Performance of collectPreVariables (initialization): time 0.001219/2.193, allocations: 137.7 kB / 0.9512 GB, free: 16.96 MB / 0.5764 GB Notification: Performance of collectInitialEqns (initialization): time 0.003723/2.196, allocations: 8.081 MB / 0.9591 GB, free: 9.582 MB / 0.5764 GB Notification: Performance of collectInitialBindings (initialization): time 0.002229/2.199, allocations: 2.438 MB / 0.9614 GB, free: 7.176 MB / 0.5764 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00278/2.201, allocations: 1.875 MB / 0.9633 GB, free: 5.289 MB / 0.5764 GB Notification: Performance of setup shared object (initialization): time 3.561e-05/2.201, allocations: 305.1 kB / 0.9636 GB, free: 4.988 MB / 0.5764 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006014/2.207, allocations: 4.863 MB / 0.9683 GB, free: 120 kB / 0.5764 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2638/2.471, allocations: 8.337 MB / 0.9764 GB, free: 183.2 MB / 0.5764 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01492/2.486, allocations: 13.99 MB / 0.9901 GB, free: 174.3 MB / 0.5764 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001092/2.486, allocations: 33.45 kB / 0.9901 GB, free: 174.3 MB / 0.5764 GB Notification: Performance of matching and sorting (n=1235) (initialization): time 0.02683/2.513, allocations: 16.12 MB / 1.006 GB, free: 168.1 MB / 0.5764 GB Notification: Performance of prepare postOptimizeDAE: time 0.000147/2.513, allocations: 54.72 kB / 1.006 GB, free: 168.1 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002168/2.514, allocations: 112.7 kB / 1.006 GB, free: 168.1 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005651/2.519, allocations: 2.574 MB / 1.009 GB, free: 167.4 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007603/2.527, allocations: 2.098 MB / 1.011 GB, free: 167.1 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03081/2.558, allocations: 30.79 MB / 1.041 GB, free: 142.7 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008317/2.566, allocations: 0.5316 MB / 1.041 GB, free: 142.3 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001987/2.568, allocations: 465.2 kB / 1.042 GB, free: 141.9 MB / 0.5764 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 511 * Number of states: 0 () * Number of discrete variables: 12 (booleanStepQS[3].y,booleanStepQS[2].y,booleanStepQS[1].y,rheostatQS.booleanStep[3].y,rheostatQS.booleanStep[2].y,rheostatQS.booleanStep[1].y,rheostatM.booleanStep[3].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1089): * Single equations (assignments): 1079 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (18,100,38.3%), (1,5,100.0%), (1,1,100.0%), (1,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0118/2.58, allocations: 6.763 MB / 1.048 GB, free: 136.2 MB / 0.5764 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00234/2.582, allocations: 0.8071 MB / 1.049 GB, free: 135.8 MB / 0.5764 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01921/2.601, allocations: 13.08 MB / 1.062 GB, free: 123.8 MB / 0.5764 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01079/2.612, allocations: 8.216 MB / 1.07 GB, free: 115.5 MB / 0.5764 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.29e-05/2.612, allocations: 28 kB / 1.07 GB, free: 115.4 MB / 0.5764 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001/2.612, allocations: 31.88 kB / 1.07 GB, free: 115.4 MB / 0.5764 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0465/2.659, allocations: 27.95 MB / 1.097 GB, free: 87.35 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-05/2.659, allocations: 4 kB / 1.097 GB, free: 87.34 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004573/2.664, allocations: 1.116 MB / 1.098 GB, free: 86.23 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005621/2.669, allocations: 2.636 MB / 1.101 GB, free: 83.56 MB / 0.5764 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009968/2.67, allocations: 148 kB / 1.101 GB, free: 83.42 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03024/2.701, allocations: 35.87 MB / 1.136 GB, free: 46.4 MB / 0.5764 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/2.701, allocations: 4.25 kB / 1.136 GB, free: 46.39 MB / 0.5764 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02453/2.725, allocations: 18.82 MB / 1.154 GB, free: 27.4 MB / 0.5764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004358/2.73, allocations: 1.802 MB / 1.156 GB, free: 25.58 MB / 0.5764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002037/2.732, allocations: 131.9 kB / 1.156 GB, free: 25.45 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004651/2.736, allocations: 395.6 kB / 1.157 GB, free: 25.06 MB / 0.5764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001348/2.738, allocations: 0.5258 MB / 1.157 GB, free: 24.53 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000418/2.738, allocations: 192 kB / 1.157 GB, free: 24.34 MB / 0.5764 GB Notification: Performance of sorting global known variables: time 0.00674/2.745, allocations: 4.818 MB / 1.162 GB, free: 19.55 MB / 0.5764 GB Notification: Performance of sort global known variables: time 1.4e-07/2.745, allocations: 0 / 1.162 GB, free: 19.55 MB / 0.5764 GB Notification: Performance of remove unused functions: time 0.01045/2.755, allocations: 3.052 MB / 1.165 GB, free: 16.51 MB / 0.5764 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 11 (ims.inertiaRotor.w,ims.stator.zeroInductor.i0,ims.stator.core.Phi.re,ims.stator.core.Phi.im,ims.rotor.zeroInductor.i0,ims.rotor.core.Phi.re,ims.rotor.core.Phi.im,quadraticLoadTorque.phi,imsQS.inertiaRotor.w,imsQS.rotor.stray.port_p.reference.gamma,quadraticLoadTorqueQS.phi) * Number of discrete variables: 12 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatQS.booleanStep[1].y,rheostatQS.booleanStep[2].y,rheostatQS.booleanStep[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (560): * Single equations (assignments): 548 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(1,5,100.0%), (1,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (1,8,100.0%), (1,1,100.0%), (1,8,100.0%), (2,12,100.0%), (1,1,100.0%), (18,100,41.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.2881/3.043, allocations: 19.66 MB / 1.184 GB, free: 185.9 MB / 0.592 GB Notification: Performance of simCode: created initialization part: time 0.02034/3.064, allocations: 13.38 MB / 1.197 GB, free: 184.2 MB / 0.592 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-05/3.064, allocations: 3.906 kB / 1.197 GB, free: 184.2 MB / 0.592 GB Notification: Performance of simCode: created simulation system equations: time 0.01125/3.075, allocations: 7.577 MB / 1.205 GB, free: 181 MB / 0.592 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01194/3.087, allocations: 2.171 MB / 1.207 GB, free: 180.2 MB / 0.592 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1647/3.252, allocations: 103.6 MB / 1.308 GB, free: 97.53 MB / 0.592 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01804/3.27, allocations: 11.36 MB / 1.319 GB, free: 86.11 MB / 0.592 GB Notification: Performance of simCode: alias equations: time 0.009304/3.279, allocations: 3.3 MB / 1.322 GB, free: 82.8 MB / 0.592 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01028/3.29, allocations: 6.834 MB / 1.329 GB, free: 75.97 MB / 0.592 GB Notification: Performance of SimCode: time 6.92e-07/3.29, allocations: 0 / 1.329 GB, free: 75.97 MB / 0.592 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5787/3.868, allocations: 246.3 MB / 1.57 GB, free: 68.29 MB / 0.6077 GB Notification: Performance of buildModelFMU: Generate platform static: time 31.2/35.07, allocations: 7.375 kB / 1.57 GB, free: 68.28 MB / 0.6077 GB (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start_res.csv --start-time 0 --stop-time 1.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Start.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Start/IMS_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches