Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.IMC_Initialize,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize",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.001533/0.001533, allocations: 112.6 kB / 17.73 MB, free: 5.203 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.001347/0.001347, allocations: 184.2 kB / 18.66 MB, free: 4.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.491/1.491, allocations: 205.1 MB / 224.5 MB, free: 12.22 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001714/0.001714, allocations: 55.92 kB / 328.1 MB, free: 3.758 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.105, allocations: 46.61 MB / 374.7 MB, free: 5.035 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.2334/0.3384, allocations: 32.95 MB / 407.6 MB, free: 7.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02399/0.3625, allocations: 8.982 MB / 416.6 MB, free: 1.246 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009824/0.3724, allocations: 204.8 kB / 416.8 MB, free: 1.199 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02082/0.3933, allocations: 7.954 MB / 424.8 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01488/0.4082, allocations: 3.705 MB / 428.5 MB, free: 8.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007749/0.4159, allocations: 2.13 MB / 430.6 MB, free: 6.598 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.02099/0.4369, allocations: 13.14 MB / 443.7 MB, free: 10.83 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03723/0.4742, allocations: 22.48 MB / 466.2 MB, free: 4.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01258/0.4869, allocations: 6.611 MB / 472.8 MB, free: 13.55 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01406/0.501, allocations: 7.311 MB / 480.1 MB, free: 6.215 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006138/0.5072, allocations: 1.895 MB / 482 MB, free: 4.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009074/0.5163, allocations: 2.253 MB / 484.3 MB, free: 2.066 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007864/0.5242, allocations: 3.807 MB / 488.1 MB, free: 14.25 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01522/0.5394, allocations: 7.187 MB / 495.3 MB, free: 7.035 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03695/0.5764, allocations: 25.12 MB / 0.5082 GB, free: 13.83 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.323e-06/0.5765, allocations: 4 kB / 0.5082 GB, free: 13.83 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.5765, allocations: 0 / 0.5082 GB, free: 13.83 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0007004/0.5772, allocations: 0 / 0.5082 GB, free: 13.83 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3009 * Number of variables: 3009 Notification: Performance of Generate backend data structure: time 0.04826/0.6254, allocations: 15.02 MB / 0.5229 GB, free: 14.68 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/0.6255, allocations: 12.03 kB / 0.5229 GB, free: 14.67 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007012/0.6325, allocations: 1.535 MB / 0.5244 GB, free: 13.12 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04523/0.6778, allocations: 7.847 MB / 0.5321 GB, free: 5.258 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01803/0.6959, allocations: 7.366 MB / 0.5393 GB, free: 13.82 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001128/0.697, allocations: 0.8066 MB / 0.54 GB, free: 13.01 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005987/0.703, allocations: 1.058 MB / 0.5411 GB, free: 11.95 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4506/1.154, allocations: 17.67 MB / 0.5583 GB, free: 129.5 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004054/1.154, allocations: 17.27 kB / 0.5583 GB, free: 129.5 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003531/1.158, allocations: 448.4 kB / 0.5588 GB, free: 129.1 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008641/1.159, allocations: 0.664 MB / 0.5594 GB, free: 129 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03876/1.197, allocations: 16.99 MB / 0.576 GB, free: 122.6 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09406/1.291, allocations: 56.62 MB / 0.6313 GB, free: 78.39 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0271/1.319, allocations: 40.06 MB / 0.6704 GB, free: 33.4 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006595/1.325, allocations: 4.477 MB / 0.6748 GB, free: 28.92 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02128/1.347, allocations: 12.68 MB / 0.6872 GB, free: 16.39 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.831e-05/1.347, allocations: 84.97 kB / 0.6873 GB, free: 16.3 MB / 478.1 MB Notification: Performance of pre-optimization done (n=398): time 5.981e-06/1.347, allocations: 0 / 0.6873 GB, free: 16.3 MB / 478.1 MB Notification: Performance of matching and sorting (n=423): time 0.05336/1.4, allocations: 21.7 MB / 0.7085 GB, free: 10.69 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001217/1.4, allocations: 128.7 kB / 0.7086 GB, free: 10.54 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01155/1.412, allocations: 4.831 MB / 0.7133 GB, free: 5.762 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008983/1.413, allocations: 93.7 kB / 0.7134 GB, free: 5.664 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.005089/1.418, allocations: 4.957 MB / 0.7182 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00265/1.421, allocations: 1.524 MB / 0.7197 GB, free: 15.27 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004584/1.425, allocations: 1.192 MB / 0.7209 GB, free: 14.06 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.000162/1.425, allocations: 312.9 kB / 0.7212 GB, free: 13.76 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006158/1.432, allocations: 2.968 MB / 0.7241 GB, free: 10.79 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008736/1.44, allocations: 5.236 MB / 0.7292 GB, free: 4.504 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01496/1.455, allocations: 8.722 MB / 0.7377 GB, free: 10.72 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.373e-05/1.455, allocations: 24 kB / 0.7377 GB, free: 10.7 MB / 0.5138 GB Notification: Performance of matching and sorting (n=803) (initialization): time 0.025/1.48, allocations: 10.06 MB / 0.7476 GB, free: 0.5898 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001176/1.481, allocations: 39.94 kB / 0.7476 GB, free: 0.5508 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001891/1.481, allocations: 76 kB / 0.7477 GB, free: 488 kB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2099/1.691, allocations: 1.664 MB / 0.7493 GB, free: 164.9 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00619/1.697, allocations: 1.398 MB / 0.7507 GB, free: 164.9 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02298/1.72, allocations: 17.79 MB / 0.768 GB, free: 155.6 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005295/1.725, allocations: 341.4 kB / 0.7683 GB, free: 155.5 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001177/1.727, allocations: 304 kB / 0.7686 GB, free: 155.4 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 335 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (710): * Single equations (assignments): 706 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (7,28,67.3%), (1,1,100.0%), (14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008091/1.735, allocations: 3.949 MB / 0.7725 GB, free: 153.4 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001568/1.736, allocations: 0.526 MB / 0.773 GB, free: 153.4 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01352/1.75, allocations: 7.805 MB / 0.7806 GB, free: 150.1 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-05/1.75, allocations: 42.25 kB / 0.7807 GB, free: 150.1 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-05/1.75, allocations: 19.03 kB / 0.7807 GB, free: 150.1 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.292e-05/1.75, allocations: 26.53 kB / 0.7807 GB, free: 150.1 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02819/1.778, allocations: 17.52 MB / 0.7978 GB, free: 142.6 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.168e-05/1.778, allocations: 3.938 kB / 0.7978 GB, free: 142.6 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003066/1.781, allocations: 0.7293 MB / 0.7985 GB, free: 142.5 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004019/1.785, allocations: 1.556 MB / 0.8001 GB, free: 142.2 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006045/1.786, allocations: 111.8 kB / 0.8002 GB, free: 142.1 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01907/1.805, allocations: 21.22 MB / 0.8209 GB, free: 124.6 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/1.805, allocations: 7.938 kB / 0.8209 GB, free: 124.6 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01535/1.82, allocations: 11.49 MB / 0.8321 GB, free: 114.2 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002792/1.823, allocations: 1.188 MB / 0.8333 GB, free: 113.1 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001357/1.825, allocations: 84 kB / 0.8334 GB, free: 113 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003467/1.828, allocations: 231.8 kB / 0.8336 GB, free: 112.8 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009945/1.829, allocations: 327.3 kB / 0.8339 GB, free: 112.5 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003188/1.829, allocations: 128 kB / 0.834 GB, free: 112.4 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.004894/1.834, allocations: 3.255 MB / 0.8372 GB, free: 109.1 MB / 0.5138 GB Notification: Performance of sort global known variables: time 3.21e-07/1.834, allocations: 0 / 0.8372 GB, free: 109.1 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.00759/1.842, allocations: 1.893 MB / 0.839 GB, free: 107.2 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.strayReluctance.Phi.re,imc.stator.strayReluctance.Phi.im,loadInertia.phi) * 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 (364): * Single equations (assignments): 357 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,1,100.0%), (14,44,40.8%), (2,12,100.0%), (1,1,100.0%), (1,12,100.0%), (1,5,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01578/1.858, allocations: 12.22 MB / 0.851 GB, free: 94.82 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01281/1.871, allocations: 8.267 MB / 0.859 GB, free: 86.51 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.606e-05/1.871, allocations: 0.7656 kB / 0.859 GB, free: 86.51 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.00727/1.878, allocations: 4.658 MB / 0.8636 GB, free: 81.76 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006837/1.885, allocations: 1.304 MB / 0.8649 GB, free: 80.46 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0991/1.984, allocations: 65.79 MB / 0.9291 GB, free: 11.64 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009126/1.993, allocations: 6.847 MB / 0.9358 GB, free: 4.758 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.005506/1.999, allocations: 1.928 MB / 0.9377 GB, free: 2.824 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2143/2.213, allocations: 4.048 MB / 0.9416 GB, free: 173.1 MB / 0.5294 GB Notification: Performance of SimCode: time 1.974e-06/2.213, allocations: 0 / 0.9416 GB, free: 173.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2231/2.436, allocations: 153.6 MB / 1.092 GB, free: 50.62 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.77/27.21, allocations: 12.69 kB / 1.092 GB, free: 50.61 MB / 0.5294 GB (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.csv --start-time 0 --stop-time 1.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1e-05 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches