Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001614/0.001614, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00186/0.00186, allocations: 213.9 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.494/1.494, allocations: 230.6 MB / 258.3 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,fileNamePrefix="Modelica_4_1_0-beta_om_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-beta_om_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002964/0.002964, allocations: 60.78 kB / 378.6 MB, free: 3.148 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.3168, allocations: 53.37 MB / 431.9 MB, free: 6.891 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.02167/0.3384, allocations: 17.58 MB / 449.5 MB, free: 5.238 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01262/0.3511, allocations: 5.981 MB / 455.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00311/0.3542, allocations: 147.1 kB / 455.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00442/0.3586, allocations: 1.422 MB / 457.1 MB, free: 13.66 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006084/0.3647, allocations: 1.841 MB / 458.9 MB, free: 11.81 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003111/0.3678, allocations: 1.101 MB / 460 MB, free: 10.71 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008916/0.3767, allocations: 6.352 MB / 466.4 MB, free: 4.332 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004593/0.3813, allocations: 2.858 MB / 469.2 MB, free: 1.391 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005781/0.3871, allocations: 3.03 MB / 472.3 MB, free: 14.37 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006492/0.3936, allocations: 3.527 MB / 475.8 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002175/0.3957, allocations: 0.7929 MB / 476.6 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002871/0.3986, allocations: 1.093 MB / 477.7 MB, free: 8.941 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002308/0.4009, allocations: 1.878 MB / 479.5 MB, free: 7.059 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006275/0.4072, allocations: 3.357 MB / 482.9 MB, free: 3.688 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0139/0.4211, allocations: 10.6 MB / 493.5 MB, free: 9.051 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.007e-05/0.4211, allocations: 3.984 kB / 493.5 MB, free: 9.047 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4211, allocations: 0 / 493.5 MB, free: 9.047 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002904/0.4214, allocations: 0 / 493.5 MB, free: 9.047 MB / 398.1 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.01816/0.4396, allocations: 6.615 MB / 0.4884 GB, free: 2.359 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.4396, allocations: 12.03 kB / 0.4884 GB, free: 2.348 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001433/0.441, allocations: 0.6789 MB / 0.4891 GB, free: 1.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005684/0.4467, allocations: 1.09 MB / 0.4901 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008196/0.4549, allocations: 3.654 MB / 0.4937 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003568/0.4553, allocations: 369.7 kB / 0.4941 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00121/0.4565, allocations: 487.9 kB / 0.4945 GB, free: 12 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01354/0.47, allocations: 6.873 MB / 0.5012 GB, free: 5.051 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001007/0.4701, allocations: 19.83 kB / 0.5013 GB, free: 5.031 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005164/0.4707, allocations: 196 kB / 0.5014 GB, free: 4.84 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000246/0.4709, allocations: 245.8 kB / 0.5017 GB, free: 4.598 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01159/0.4825, allocations: 5.937 MB / 0.5075 GB, free: 14.65 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04212/0.5246, allocations: 20.42 MB / 0.5274 GB, free: 9.805 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00932/0.5339, allocations: 4.478 MB / 0.5318 GB, free: 5.594 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004999/0.5389, allocations: 2.298 MB / 0.534 GB, free: 3.289 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.255/0.794, allocations: 6.234 MB / 0.5401 GB, free: 94.84 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.219e-05/0.794, allocations: 61.27 kB / 0.5402 GB, free: 94.79 MB / 446.1 MB Notification: Performance of pre-optimization done (n=219): time 5.21e-06/0.794, allocations: 0 / 0.5402 GB, free: 94.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=226): time 0.01699/0.811, allocations: 8.983 MB / 0.5489 GB, free: 91.52 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.811, allocations: 81.06 kB / 0.549 GB, free: 91.45 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004044/0.8151, allocations: 3.016 MB / 0.552 GB, free: 90.34 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000326/0.8154, allocations: 63.36 kB / 0.552 GB, free: 90.28 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001287/0.8167, allocations: 2.232 MB / 0.5542 GB, free: 88.86 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007086/0.8174, allocations: 0.7994 MB / 0.555 GB, free: 88.33 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000652/0.8181, allocations: 469.3 kB / 0.5554 GB, free: 88.11 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.221e-05/0.8181, allocations: 305.1 kB / 0.5557 GB, free: 87.81 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001697/0.8198, allocations: 1.298 MB / 0.557 GB, free: 87.33 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002023/0.8218, allocations: 1.916 MB / 0.5589 GB, free: 86.11 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003577/0.8254, allocations: 3.343 MB / 0.5621 GB, free: 84.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.859e-06/0.8254, allocations: 4 kB / 0.5621 GB, free: 84.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=328) (initialization): time 0.009451/0.8349, allocations: 4.172 MB / 0.5662 GB, free: 80.04 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.943e-05/0.8349, allocations: 15.94 kB / 0.5662 GB, free: 80.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.488e-05/0.8349, allocations: 20 kB / 0.5662 GB, free: 80 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003438/0.8384, allocations: 0.7677 MB / 0.567 GB, free: 79.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003087/0.8415, allocations: 0.5656 MB / 0.5675 GB, free: 78.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01197/0.8534, allocations: 10.45 MB / 0.5778 GB, free: 67.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004023/0.8575, allocations: 111.7 kB / 0.5779 GB, free: 67.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004403/0.8579, allocations: 104 kB / 0.578 GB, free: 67.56 MB / 446.1 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.004141/0.862, allocations: 1.61 MB / 0.5795 GB, free: 65.95 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001115/0.8632, allocations: 337.9 kB / 0.5799 GB, free: 65.62 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008239/0.8714, allocations: 3.734 MB / 0.5835 GB, free: 61.86 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-05/0.8714, allocations: 27.75 kB / 0.5835 GB, free: 61.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.827e-05/0.8714, allocations: 8 kB / 0.5835 GB, free: 61.83 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.518e-05/0.8715, allocations: 15.84 kB / 0.5835 GB, free: 61.82 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01891/0.8904, allocations: 8.397 MB / 0.5918 GB, free: 53.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.727e-05/0.8904, allocations: 4 kB / 0.5918 GB, free: 53.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002191/0.8926, allocations: 343.8 kB / 0.5921 GB, free: 53.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004126/0.8967, allocations: 0.9473 MB / 0.593 GB, free: 52.06 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003781/0.8971, allocations: 55.98 kB / 0.5931 GB, free: 52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01853/0.9156, allocations: 15.13 MB / 0.6078 GB, free: 36.23 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/0.9156, allocations: 4.031 kB / 0.6078 GB, free: 36.22 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01193/0.9275, allocations: 5.539 MB / 0.6133 GB, free: 30.62 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002586/0.9301, allocations: 0.6442 MB / 0.6139 GB, free: 29.98 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008075/0.9309, allocations: 55.98 kB / 0.6139 GB, free: 29.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002447/0.9334, allocations: 103.9 kB / 0.614 GB, free: 29.82 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006669/0.9341, allocations: 193.6 kB / 0.6142 GB, free: 29.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002191/0.9343, allocations: 68.72 kB / 0.6143 GB, free: 29.57 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004514/0.9388, allocations: 2.075 MB / 0.6163 GB, free: 27.49 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.9388, allocations: 0 / 0.6163 GB, free: 27.49 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005918/0.9447, allocations: 0.9492 MB / 0.6172 GB, free: 26.55 MB / 446.1 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.01247/0.9572, allocations: 6.26 MB / 0.6234 GB, free: 20.24 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007996/0.9652, allocations: 3.713 MB / 0.627 GB, free: 16.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.616e-06/0.9652, allocations: 0 / 0.627 GB, free: 16.48 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005548/0.9707, allocations: 2.553 MB / 0.6295 GB, free: 13.86 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006472/0.9772, allocations: 0.9201 MB / 0.6304 GB, free: 12.95 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09027/1.067, allocations: 33.74 MB / 0.6633 GB, free: 10.39 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006522/1.074, allocations: 3.434 MB / 0.6667 GB, free: 6.918 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003104/1.077, allocations: 0.7606 MB / 0.6674 GB, free: 6.152 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003335/1.08, allocations: 1.85 MB / 0.6692 GB, free: 4.301 MB / 478.1 MB Notification: Performance of SimCode: time 2.394e-06/1.08, allocations: 0 / 0.6692 GB, free: 4.301 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4307/1.511, allocations: 88.44 MB / 0.7556 GB, free: 174.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.13/18.64, allocations: 8.203 kB / 0.7556 GB, free: 174.1 MB / 0.5294 GB " [Timeout remaining time 641] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_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-beta_om_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Transformer.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 21.412448776885867] 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'] 18.805691857356578 18.823495235 18.398406381 Calling exit ...