Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8984/0.8984, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.142e-05/2.335e-05, allocations: 2.281 kB / 324.6 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.01233/0.01235, allocations: 15.21 MB / 339.8 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01008/0.02243, allocations: 5.669 MB / 345.5 MB, free: 10.95 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002994/0.02542, allocations: 143.1 kB / 345.6 MB, free: 10.81 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003432/0.02886, allocations: 1.359 MB / 347 MB, free: 9.445 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005267/0.03412, allocations: 1.867 MB / 348.8 MB, free: 7.566 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002373/0.0365, allocations: 1.087 MB / 349.9 MB, free: 6.48 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.006547/0.04304, allocations: 6.619 MB / 356.5 MB, free: 15.83 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003966/0.04701, allocations: 2.763 MB / 359.3 MB, free: 12.99 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006379/0.05339, allocations: 4.409 MB / 363.7 MB, free: 8.582 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00428/0.05767, allocations: 2.927 MB / 366.6 MB, free: 5.648 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001617/0.05928, allocations: 0.7891 MB / 367.4 MB, free: 4.859 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002144/0.06143, allocations: 1.077 MB / 368.5 MB, free: 3.781 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001298/0.06273, allocations: 1.916 MB / 370.4 MB, free: 1.859 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003584/0.06631, allocations: 2.3 MB / 372.7 MB, free: 15.55 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01087/0.07718, allocations: 10.71 MB / 383.4 MB, free: 4.812 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.07719, allocations: 0 / 383.4 MB, free: 4.812 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.07719, allocations: 0 / 383.4 MB, free: 4.812 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003474/0.07754, allocations: 3.938 kB / 383.4 MB, free: 4.809 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1287 * Number of variables: 1287 Notification: Performance of Generate backend data structure: time 0.01384/0.09138, allocations: 6.561 MB / 390 MB, free: 14.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.09142, allocations: 8.031 kB / 390 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001059/0.09248, allocations: 0.675 MB / 390.7 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003112/0.0956, allocations: 1.094 MB / 391.8 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007116/0.1027, allocations: 3.63 MB / 395.4 MB, free: 8.684 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000261/0.103, allocations: 362.1 kB / 395.8 MB, free: 8.328 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00114/0.1041, allocations: 491.9 kB / 396.2 MB, free: 7.848 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0121/0.1162, allocations: 7.182 MB / 403.4 MB, free: 0.5117 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001032/0.1163, allocations: 15.88 kB / 403.4 MB, free: 0.4961 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006913/0.117, allocations: 200 kB / 403.6 MB, free: 308 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001727/0.1172, allocations: 245.8 kB / 403.9 MB, free: 60 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01038/0.1276, allocations: 5.929 MB / 409.8 MB, free: 10.12 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0284/0.156, allocations: 18.62 MB / 428.4 MB, free: 7.082 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005269/0.1612, allocations: 4.475 MB / 432.9 MB, free: 2.867 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002574/0.1638, allocations: 2.294 MB / 435.2 MB, free: 0.5664 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00932/0.1731, allocations: 5.669 MB / 440.9 MB, free: 10.87 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.385e-05/0.1732, allocations: 56.56 kB / 440.9 MB, free: 10.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=219): time 4.218e-06/0.1732, allocations: 0 / 440.9 MB, free: 10.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=226): time 0.01498/0.1882, allocations: 8.98 MB / 449.9 MB, free: 1.805 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.938e-05/0.1882, allocations: 73.41 kB / 450 MB, free: 1.723 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1651/0.3533, allocations: 3.046 MB / 453 MB, free: 110.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005294/0.3538, allocations: 65.08 kB / 453.1 MB, free: 110.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0013/0.3551, allocations: 2.225 MB / 455.3 MB, free: 109.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005698/0.3557, allocations: 0.7899 MB / 456.1 MB, free: 109.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006048/0.3563, allocations: 467 kB / 456.5 MB, free: 109 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.938e-05/0.3563, allocations: 304.6 kB / 456.8 MB, free: 108.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00144/0.3577, allocations: 1.291 MB / 458.1 MB, free: 108.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001578/0.3593, allocations: 1.942 MB / 460.1 MB, free: 107 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002898/0.3622, allocations: 3.344 MB / 463.4 MB, free: 105.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2e-05/0.3622, allocations: 8.656 kB / 463.4 MB, free: 105.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=328) (initialization): time 0.004582/0.3668, allocations: 4.171 MB / 467.6 MB, free: 103.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.214e-05/0.3669, allocations: 19.61 kB / 467.6 MB, free: 103.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.975e-05/0.3669, allocations: 19.72 kB / 467.6 MB, free: 103.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001331/0.3682, allocations: 0.7685 MB / 468.4 MB, free: 102.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001176/0.3694, allocations: 0.5697 MB / 469 MB, free: 102.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005725/0.3751, allocations: 10.33 MB / 479.3 MB, free: 92.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001959/0.3771, allocations: 109.9 kB / 479.4 MB, free: 92.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002419/0.3773, allocations: 100 kB / 479.5 MB, free: 91.98 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep2[3].y,booleanStep2[2].y,booleanStep2[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 (278): * Single equations (assignments): 273 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(3,25,77.8%), (1,8,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002123/0.3794, allocations: 1.624 MB / 481.1 MB, free: 90.35 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005605/0.38, allocations: 337.8 kB / 481.5 MB, free: 90.02 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003893/0.3839, allocations: 3.731 MB / 485.2 MB, free: 86.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/0.3839, allocations: 20 kB / 485.2 MB, free: 86.25 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.795e-05/0.3839, allocations: 12 kB / 485.2 MB, free: 86.24 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.343e-05/0.3839, allocations: 11.95 kB / 485.2 MB, free: 86.23 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00919/0.3931, allocations: 7.896 MB / 493.1 MB, free: 78.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.3931, allocations: 4 kB / 493.1 MB, free: 78.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000779/0.3939, allocations: 343.8 kB / 493.5 MB, free: 77.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001495/0.3954, allocations: 0.9537 MB / 494.4 MB, free: 76.97 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001247/0.3955, allocations: 51.98 kB / 494.5 MB, free: 76.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007675/0.4032, allocations: 14.96 MB / 0.4975 GB, free: 61.33 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.4032, allocations: 3.984 kB / 0.4975 GB, free: 61.32 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00558/0.4088, allocations: 5.537 MB / 0.5029 GB, free: 55.73 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001334/0.4101, allocations: 0.648 MB / 0.5035 GB, free: 55.08 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003952/0.4105, allocations: 48 kB / 0.5036 GB, free: 55.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008273/0.4113, allocations: 115.9 kB / 0.5037 GB, free: 54.92 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003181/0.4117, allocations: 197.6 kB / 0.5039 GB, free: 54.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.853e-05/0.4117, allocations: 63.98 kB / 0.5039 GB, free: 54.67 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002033/0.4138, allocations: 2.079 MB / 0.506 GB, free: 52.59 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4138, allocations: 0 / 0.506 GB, free: 52.59 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00232/0.4161, allocations: 0.9415 MB / 0.5069 GB, free: 51.65 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 9 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,8,100.0%), (3,25,88.9%), (1,1,100.0%), (1,8,100.0%), (1,13,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005294/0.4214, allocations: 6.261 MB / 0.513 GB, free: 45.34 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00347/0.4249, allocations: 3.701 MB / 0.5166 GB, free: 41.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.4249, allocations: 4.125 kB / 0.5166 GB, free: 41.59 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001959/0.4268, allocations: 2.547 MB / 0.5191 GB, free: 38.97 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002451/0.4293, allocations: 0.9346 MB / 0.52 GB, free: 38.06 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03928/0.4686, allocations: 33.74 MB / 0.553 GB, free: 3.52 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001907/0.4705, allocations: 2.919 MB / 0.5558 GB, free: 0.5508 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001635/0.4721, allocations: 0.7645 MB / 0.5566 GB, free: 15.78 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001749/0.4739, allocations: 1.852 MB / 0.5584 GB, free: 13.93 MB / 426.7 MB Notification: Performance of SimCode: time 1.353e-06/0.4739, allocations: 0 / 0.5584 GB, free: 13.93 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2613/0.7352, allocations: 90.87 MB / 0.6471 GB, free: 142.8 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.16/10.9, allocations: 5.547 kB / 0.6471 GB, free: 142.8 MB / 474.7 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Transformer.fmu > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.807584771886468] Failed to read output from testmodel.py, exit status != 0: ['time', 'aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', '// aimc.stator.zeroInductor.i0', 'aimc.is[1]', 'aimc.is[2]', 'loadInertia.phi', 'loadInertia.w', 'transformer.l2sigma.inductor[1].i', 'transformer.l2sigma.inductor[3].i'] 11.030366008169949 11.041084217 10.962147528 Calling exit ...