Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.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) 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(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start,fileNamePrefix="Modelica_4_0_0_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_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001066/0.00107, allocations: 114.6 kB / 17.07 MB, free: 6.016 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.001522/0.001522, allocations: 191 kB / 18 MB, free: 5.098 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.349/1.349, allocations: 222.9 MB / 241.7 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00112/0.00112, allocations: 43.92 kB / 350.8 MB, free: 3.727 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.2928, allocations: 49.44 MB / 400.3 MB, free: 8.434 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start): time 0.04729/0.3401, allocations: 45.26 MB / 445.6 MB, free: 11.34 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02735/0.3675, allocations: 11.78 MB / 457.3 MB, free: 15.53 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01232/0.3798, allocations: 354.9 kB / 457.7 MB, free: 15.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02941/0.4093, allocations: 12.47 MB / 470.2 MB, free: 2.676 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01817/0.4275, allocations: 4.902 MB / 475.1 MB, free: 13.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009842/0.4374, allocations: 2.935 MB / 478 MB, free: 10.84 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02953/0.4669, allocations: 20.94 MB / 498.9 MB, free: 5.824 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.065/0.5319, allocations: 41.96 MB / 0.5282 GB, free: 11.59 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02003/0.552, allocations: 10.97 MB / 0.5389 GB, free: 0.5938 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.4873/1.039, allocations: 12.01 MB / 0.5507 GB, free: 49.14 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009092/1.048, allocations: 3.136 MB / 0.5537 GB, free: 49.14 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01312/1.062, allocations: 3.533 MB / 0.5572 GB, free: 49.14 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01191/1.074, allocations: 6.248 MB / 0.5633 GB, free: 48.46 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02305/1.097, allocations: 11.9 MB / 0.5749 GB, free: 43.06 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0435/1.14, allocations: 41.54 MB / 0.6155 GB, free: 17.01 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/1.14, allocations: 0 / 0.6155 GB, free: 17.01 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.573e-06/1.14, allocations: 0 / 0.6155 GB, free: 17.01 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0015/1.142, allocations: 0 / 0.6155 GB, free: 17.01 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.07083/1.213, allocations: 24.33 MB / 0.6392 GB, free: 8.781 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/1.213, allocations: 11.89 kB / 0.6392 GB, free: 8.77 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01067/1.223, allocations: 2.943 MB / 0.6421 GB, free: 5.828 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06272/1.286, allocations: 11.44 MB / 0.6533 GB, free: 10.51 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03409/1.32, allocations: 13.47 MB / 0.6664 GB, free: 13.53 MB / 0.4982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001503/1.322, allocations: 1.36 MB / 0.6678 GB, free: 12.18 MB / 0.4982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007256/1.329, allocations: 1.796 MB / 0.6695 GB, free: 10.41 MB / 0.4982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07699/1.406, allocations: 29.59 MB / 0.6984 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009366/1.407, allocations: 23.42 kB / 0.6984 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006534/1.414, allocations: 0.7437 MB / 0.6992 GB, free: 12 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001084/1.415, allocations: 0.9907 MB / 0.7001 GB, free: 11 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05872/1.473, allocations: 27.29 MB / 0.7268 GB, free: 15.7 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5852/2.059, allocations: 93.16 MB / 0.8178 GB, free: 134 MB / 0.5608 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03297/2.092, allocations: 51.97 MB / 0.8685 GB, free: 82.56 MB / 0.5608 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01038/2.102, allocations: 7.292 MB / 0.8756 GB, free: 75.27 MB / 0.5608 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03452/2.137, allocations: 20.05 MB / 0.8952 GB, free: 55.57 MB / 0.5608 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.827e-05/2.137, allocations: 112.5 kB / 0.8953 GB, free: 55.45 MB / 0.5608 GB Notification: Performance of pre-optimization done (n=677): time 7.915e-06/2.137, allocations: 0 / 0.8953 GB, free: 55.45 MB / 0.5608 GB Notification: Performance of matching and sorting (n=685): time 0.08296/2.22, allocations: 38.53 MB / 0.9329 GB, free: 17.27 MB / 0.5608 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.482e-05/2.22, allocations: 151 kB / 0.9331 GB, free: 17.1 MB / 0.5608 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01055/2.23, allocations: 7.114 MB / 0.94 GB, free: 10.08 MB / 0.5608 GB Notification: Performance of collectPreVariables (initialization): time 0.001394/2.232, allocations: 133.7 kB / 0.9402 GB, free: 9.945 MB / 0.5608 GB Notification: Performance of collectInitialEqns (initialization): time 0.004227/2.236, allocations: 8.065 MB / 0.948 GB, free: 2.578 MB / 0.5608 GB Notification: Performance of collectInitialBindings (initialization): time 0.002612/2.239, allocations: 2.441 MB / 0.9504 GB, free: 176 kB / 0.5608 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004102/2.243, allocations: 1.872 MB / 0.9522 GB, free: 14.29 MB / 0.5764 GB Notification: Performance of setup shared object (initialization): time 9.611e-05/2.243, allocations: 305.1 kB / 0.9525 GB, free: 13.99 MB / 0.5764 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008344/2.251, allocations: 4.856 MB / 0.9573 GB, free: 9.129 MB / 0.5764 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2886/2.54, allocations: 8.33 MB / 0.9654 GB, free: 186.9 MB / 0.5764 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01817/2.558, allocations: 14 MB / 0.9791 GB, free: 180.3 MB / 0.5764 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001434/2.558, allocations: 33.97 kB / 0.9791 GB, free: 180.3 MB / 0.5764 GB Notification: Performance of matching and sorting (n=1235) (initialization): time 0.03039/2.589, allocations: 16.1 MB / 0.9948 GB, free: 174 MB / 0.5764 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001031/2.589, allocations: 63 kB / 0.9949 GB, free: 174 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001861/2.589, allocations: 113.2 kB / 0.995 GB, free: 174 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006415/2.596, allocations: 2.569 MB / 0.9975 GB, free: 173.3 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008292/2.604, allocations: 2.102 MB / 0.9996 GB, free: 173.1 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03105/2.635, allocations: 30.79 MB / 1.03 GB, free: 152.7 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01018/2.645, allocations: 0.5299 MB / 1.03 GB, free: 152.6 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002364/2.648, allocations: 459.8 kB / 1.031 GB, free: 152.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.01265/2.66, allocations: 6.765 MB / 1.037 GB, free: 146.7 MB / 0.5764 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002412/2.663, allocations: 0.8008 MB / 1.038 GB, free: 146.3 MB / 0.5764 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01988/2.683, allocations: 13.09 MB / 1.051 GB, free: 135.2 MB / 0.5764 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01169/2.694, allocations: 8.206 MB / 1.059 GB, free: 127.1 MB / 0.5764 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-05/2.694, allocations: 28 kB / 1.059 GB, free: 127.1 MB / 0.5764 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001246/2.695, allocations: 39.86 kB / 1.059 GB, free: 127 MB / 0.5764 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05198/2.747, allocations: 27.93 MB / 1.086 GB, free: 98.98 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.016e-05/2.747, allocations: 4 kB / 1.086 GB, free: 98.98 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004731/2.751, allocations: 1.116 MB / 1.087 GB, free: 97.86 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005997/2.757, allocations: 2.637 MB / 1.09 GB, free: 95.19 MB / 0.5764 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001189/2.759, allocations: 148 kB / 1.09 GB, free: 95.05 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0301/2.789, allocations: 35.84 MB / 1.125 GB, free: 58.07 MB / 0.5764 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/2.789, allocations: 4 kB / 1.125 GB, free: 58.06 MB / 0.5764 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02928/2.818, allocations: 18.82 MB / 1.143 GB, free: 39.06 MB / 0.5764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005762/2.824, allocations: 1.792 MB / 1.145 GB, free: 37.25 MB / 0.5764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002418/2.826, allocations: 131.9 kB / 1.145 GB, free: 37.12 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004923/2.831, allocations: 395.6 kB / 1.146 GB, free: 36.73 MB / 0.5764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0016/2.833, allocations: 0.5297 MB / 1.146 GB, free: 36.2 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004983/2.833, allocations: 196 kB / 1.146 GB, free: 36.01 MB / 0.5764 GB Notification: Performance of sorting global known variables: time 0.006888/2.84, allocations: 4.786 MB / 1.151 GB, free: 31.25 MB / 0.5764 GB Notification: Performance of sort global known variables: time 1.142e-06/2.84, allocations: 4 kB / 1.151 GB, free: 31.25 MB / 0.5764 GB Notification: Performance of remove unused functions: time 0.01147/2.852, allocations: 3.049 MB / 1.154 GB, free: 28.2 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,1,100.0%), (1,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (1,5,100.0%), (1,8,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.02655/2.878, allocations: 19.65 MB / 1.173 GB, free: 8.277 MB / 0.5764 GB Notification: Performance of simCode: created initialization part: time 0.2555/3.134, allocations: 13.39 MB / 1.186 GB, free: 198.7 MB / 0.5764 GB Notification: Performance of simCode: created event and clocks part: time 9.208e-06/3.134, allocations: 7.656 kB / 1.186 GB, free: 198.7 MB / 0.5764 GB Notification: Performance of simCode: created simulation system equations: time 0.01056/3.145, allocations: 7.582 MB / 1.194 GB, free: 196.5 MB / 0.5764 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01518/3.16, allocations: 2.15 MB / 1.196 GB, free: 195.7 MB / 0.5764 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1843/3.344, allocations: 103.5 MB / 1.297 GB, free: 108.6 MB / 0.5764 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0203/3.365, allocations: 11.35 MB / 1.308 GB, free: 97.22 MB / 0.5764 GB Notification: Performance of simCode: alias equations: time 0.009454/3.374, allocations: 3.288 MB / 1.311 GB, free: 93.92 MB / 0.5764 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01167/3.386, allocations: 6.818 MB / 1.318 GB, free: 87.1 MB / 0.5764 GB Notification: Performance of SimCode: time 1.693e-06/3.386, allocations: 0 / 1.318 GB, free: 87.1 MB / 0.5764 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6313/4.017, allocations: 246 MB / 1.558 GB, free: 43.31 MB / 0.5764 GB Notification: Performance of buildModelFMU: Generate platform static: time 30.19/34.21, allocations: 11.73 kB / 1.558 GB, free: 43.3 MB / 0.5764 GB (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Start.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches