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.001104/0.001104, allocations: 118.2 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001127/0.001127, allocations: 202 kB / 18.73 MB, free: 4.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.324/1.324, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001123/0.001123, allocations: 59.89 kB / 358.3 MB, free: 13.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2632/0.2644, allocations: 50.54 MB / 408.8 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start): time 0.04487/0.3093, allocations: 45.95 MB / 454.8 MB, free: 3.387 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02535/0.3347, allocations: 12.09 MB / 466.8 MB, free: 7.262 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01021/0.3449, allocations: 362.8 kB / 467.2 MB, free: 6.906 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02775/0.3727, allocations: 12.49 MB / 479.7 MB, free: 10.38 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01738/0.3901, allocations: 4.917 MB / 484.6 MB, free: 5.445 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009395/0.3995, allocations: 3.042 MB / 487.6 MB, free: 2.418 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02762/0.4271, allocations: 21.09 MB / 0.4968 GB, free: 13.25 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06644/0.4936, allocations: 41.95 MB / 0.5378 GB, free: 3.035 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.5181/1.012, allocations: 10.99 MB / 0.5485 GB, free: 40.73 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01808/1.03, allocations: 12.19 MB / 0.5604 GB, free: 39.5 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0092/1.039, allocations: 3.134 MB / 0.5635 GB, free: 39.5 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01259/1.052, allocations: 3.567 MB / 0.567 GB, free: 39.5 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01009/1.062, allocations: 6.246 MB / 0.5731 GB, free: 38.82 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01862/1.081, allocations: 11.91 MB / 0.5847 GB, free: 32.43 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04312/1.124, allocations: 41.61 MB / 0.6253 GB, free: 468 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/1.124, allocations: 0 / 0.6253 GB, free: 468 kB / 462.1 MB Notification: Performance of FrontEnd: time 2.494e-06/1.124, allocations: 0 / 0.6253 GB, free: 468 kB / 462.1 MB Notification: Performance of Transformations before backend: time 0.001413/1.125, allocations: 0 / 0.6253 GB, free: 468 kB / 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.0756/1.201, allocations: 24.38 MB / 0.6491 GB, free: 8.129 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/1.201, allocations: 12.03 kB / 0.6492 GB, free: 8.117 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0103/1.211, allocations: 2.952 MB / 0.652 GB, free: 5.172 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06239/1.274, allocations: 11.48 MB / 0.6633 GB, free: 9.805 MB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03226/1.306, allocations: 13.5 MB / 0.6764 GB, free: 12.78 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00161/1.308, allocations: 1.361 MB / 0.6778 GB, free: 11.43 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008414/1.316, allocations: 1.786 MB / 0.6795 GB, free: 9.664 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08104/1.397, allocations: 29.59 MB / 0.7084 GB, free: 12 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007461/1.398, allocations: 27.31 kB / 0.7084 GB, free: 11.98 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006723/1.405, allocations: 0.7459 MB / 0.7092 GB, free: 11.25 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001111/1.406, allocations: 0.9868 MB / 0.7101 GB, free: 10.26 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05967/1.465, allocations: 27.3 MB / 0.7368 GB, free: 14.95 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6084/2.074, allocations: 94.04 MB / 0.8286 GB, free: 142 MB / 0.5764 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03245/2.106, allocations: 52.58 MB / 0.88 GB, free: 89.24 MB / 0.5764 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01123/2.118, allocations: 7.347 MB / 0.8871 GB, free: 81.88 MB / 0.5764 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03203/2.15, allocations: 19.72 MB / 0.9064 GB, free: 62.43 MB / 0.5764 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.732e-05/2.15, allocations: 104.5 kB / 0.9065 GB, free: 62.32 MB / 0.5764 GB Notification: Performance of pre-optimization done (n=677): time 7.655e-06/2.15, allocations: 4 kB / 0.9065 GB, free: 62.32 MB / 0.5764 GB Notification: Performance of matching and sorting (n=685): time 0.08054/2.23, allocations: 38.55 MB / 0.9441 GB, free: 24.12 MB / 0.5764 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.925e-05/2.231, allocations: 147.1 kB / 0.9443 GB, free: 23.96 MB / 0.5764 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01023/2.241, allocations: 7.144 MB / 0.9513 GB, free: 16.91 MB / 0.5764 GB Notification: Performance of collectPreVariables (initialization): time 0.001305/2.242, allocations: 141.7 kB / 0.9514 GB, free: 16.77 MB / 0.5764 GB Notification: Performance of collectInitialEqns (initialization): time 0.003803/2.246, allocations: 8.077 MB / 0.9593 GB, free: 9.387 MB / 0.5764 GB Notification: Performance of collectInitialBindings (initialization): time 0.002591/2.249, allocations: 2.441 MB / 0.9617 GB, free: 6.977 MB / 0.5764 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003069/2.252, allocations: 1.871 MB / 0.9635 GB, free: 5.094 MB / 0.5764 GB Notification: Performance of setup shared object (initialization): time 5.686e-05/2.252, allocations: 313.1 kB / 0.9638 GB, free: 4.785 MB / 0.5764 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2694/2.521, allocations: 4.856 MB / 0.9685 GB, free: 185.2 MB / 0.5764 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01094/2.532, allocations: 8.339 MB / 0.9767 GB, free: 181 MB / 0.5764 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01505/2.547, allocations: 14 MB / 0.9904 GB, free: 172.1 MB / 0.5764 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001169/2.547, allocations: 31 kB / 0.9904 GB, free: 172.1 MB / 0.5764 GB Notification: Performance of matching and sorting (n=1235) (initialization): time 0.02512/2.572, allocations: 16.12 MB / 1.006 GB, free: 165.8 MB / 0.5764 GB Notification: Performance of prepare postOptimizeDAE: time 8.292e-05/2.572, allocations: 54.44 kB / 1.006 GB, free: 165.8 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001673/2.573, allocations: 108.7 kB / 1.006 GB, free: 165.8 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005887/2.579, allocations: 2.579 MB / 1.009 GB, free: 165.1 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007766/2.586, allocations: 2.096 MB / 1.011 GB, free: 164.9 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03004/2.616, allocations: 30.8 MB / 1.041 GB, free: 142.2 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008131/2.625, allocations: 0.5302 MB / 1.041 GB, free: 141.8 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001944/2.627, allocations: 461.1 kB / 1.042 GB, free: 141.4 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.01249/2.639, allocations: 6.766 MB / 1.048 GB, free: 135.7 MB / 0.5764 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002017/2.641, allocations: 0.8065 MB / 1.049 GB, free: 135.3 MB / 0.5764 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02/2.661, allocations: 13.08 MB / 1.062 GB, free: 123.3 MB / 0.5764 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01154/2.673, allocations: 8.22 MB / 1.07 GB, free: 115 MB / 0.5764 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.83e-05/2.673, allocations: 32 kB / 1.07 GB, free: 115 MB / 0.5764 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.934e-05/2.673, allocations: 35.86 kB / 1.07 GB, free: 115 MB / 0.5764 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04929/2.722, allocations: 27.94 MB / 1.097 GB, free: 86.89 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.638e-05/2.722, allocations: 4 kB / 1.097 GB, free: 86.89 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004709/2.727, allocations: 1.108 MB / 1.099 GB, free: 85.78 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005876/2.733, allocations: 2.646 MB / 1.101 GB, free: 83.11 MB / 0.5764 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001021/2.734, allocations: 148 kB / 1.101 GB, free: 82.96 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03057/2.764, allocations: 35.87 MB / 1.136 GB, free: 45.94 MB / 0.5764 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/2.764, allocations: 4 kB / 1.136 GB, free: 45.94 MB / 0.5764 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02608/2.791, allocations: 18.82 MB / 1.155 GB, free: 26.94 MB / 0.5764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00515/2.796, allocations: 1.793 MB / 1.156 GB, free: 25.13 MB / 0.5764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002398/2.798, allocations: 139.9 kB / 1.157 GB, free: 24.99 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005221/2.803, allocations: 387.6 kB / 1.157 GB, free: 24.61 MB / 0.5764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001794/2.805, allocations: 0.5258 MB / 1.157 GB, free: 24.08 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008251/2.806, allocations: 203.9 kB / 1.158 GB, free: 23.88 MB / 0.5764 GB Notification: Performance of sorting global known variables: time 0.008423/2.815, allocations: 4.81 MB / 1.162 GB, free: 19.1 MB / 0.5764 GB Notification: Performance of sort global known variables: time 5.11e-07/2.815, allocations: 0 / 1.162 GB, free: 19.1 MB / 0.5764 GB Notification: Performance of remove unused functions: time 0.01388/2.828, allocations: 3.055 MB / 1.165 GB, free: 16.05 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.3275/3.156, allocations: 19.65 MB / 1.184 GB, free: 186.1 MB / 0.592 GB Notification: Performance of simCode: created initialization part: time 0.02182/3.178, allocations: 13.39 MB / 1.198 GB, free: 184.5 MB / 0.592 GB Notification: Performance of simCode: created event and clocks part: time 9.679e-06/3.178, allocations: 0 / 1.198 GB, free: 184.5 MB / 0.592 GB Notification: Performance of simCode: created simulation system equations: time 0.01017/3.188, allocations: 7.578 MB / 1.205 GB, free: 181.1 MB / 0.592 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01055/3.199, allocations: 2.166 MB / 1.207 GB, free: 180.4 MB / 0.592 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1758/3.375, allocations: 103.6 MB / 1.308 GB, free: 97.44 MB / 0.592 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0209/3.395, allocations: 11.36 MB / 1.319 GB, free: 86.02 MB / 0.592 GB Notification: Performance of simCode: alias equations: time 0.01022/3.406, allocations: 3.289 MB / 1.323 GB, free: 82.72 MB / 0.592 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01177/3.418, allocations: 6.838 MB / 1.329 GB, free: 75.88 MB / 0.592 GB Notification: Performance of SimCode: time 1.563e-06/3.418, allocations: 7.391 kB / 1.329 GB, free: 75.88 MB / 0.592 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6099/4.028, allocations: 246.3 MB / 1.57 GB, free: 68.38 MB / 0.6077 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.46/33.49, allocations: 16.75 kB / 1.57 GB, free: 68.37 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.0.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