Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.0008053/0.0008053, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 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.001014/0.001014, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9119/0.9119, allocations: 177 MB / 204.1 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] 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.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,fileNamePrefix="Modelica_trunk_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_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.525e-06/2.525e-06, allocations: 4 kB / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.578e-05/1.831e-05, allocations: 2.281 kB / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.01171/0.01173, allocations: 15.23 MB / 339.8 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009038/0.02077, allocations: 5.688 MB / 345.5 MB, free: 10.89 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002497/0.02326, allocations: 143.1 kB / 345.6 MB, free: 10.75 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003262/0.02653, allocations: 1.359 MB / 346.9 MB, free: 9.383 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005613/0.03214, allocations: 1.883 MB / 348.8 MB, free: 7.488 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002637/0.03477, allocations: 1.075 MB / 349.9 MB, free: 6.414 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.007178/0.04195, allocations: 6.666 MB / 356.6 MB, free: 15.71 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004021/0.04597, allocations: 2.767 MB / 359.3 MB, free: 12.87 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00643/0.0524, allocations: 4.432 MB / 363.8 MB, free: 8.441 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004256/0.05666, allocations: 2.942 MB / 366.7 MB, free: 5.492 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001402/0.05806, allocations: 0.7891 MB / 367.5 MB, free: 4.703 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001873/0.05993, allocations: 1.066 MB / 368.6 MB, free: 3.637 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001106/0.06104, allocations: 1.932 MB / 370.5 MB, free: 1.699 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003269/0.06431, allocations: 2.308 MB / 372.8 MB, free: 15.38 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008953/0.07326, allocations: 10.73 MB / 383.5 MB, free: 4.629 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.515e-06/0.07327, allocations: 0 / 383.5 MB, free: 4.629 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.07327, allocations: 4 kB / 383.5 MB, free: 4.625 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002852/0.07356, allocations: 0 / 383.5 MB, free: 4.625 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: 1293 * Number of variables: 1293 Notification: Performance of Generate backend data structure: time 0.01145/0.08501, allocations: 6.576 MB / 390.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.08506, allocations: 11.98 kB / 390.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006806/0.08574, allocations: 0.6752 MB / 390.8 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002724/0.08846, allocations: 1.094 MB / 391.9 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005366/0.09383, allocations: 3.638 MB / 395.5 MB, free: 8.473 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002044/0.09403, allocations: 362.1 kB / 395.9 MB, free: 8.117 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007463/0.09478, allocations: 492.2 kB / 396.4 MB, free: 7.637 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01019/0.105, allocations: 7.21 MB / 403.6 MB, free: 280 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.421e-05/0.105, allocations: 7.938 kB / 403.6 MB, free: 272 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003361/0.1054, allocations: 207.9 kB / 403.8 MB, free: 64 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001689/0.1055, allocations: 249.9 kB / 404 MB, free: 15.82 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00889/0.1144, allocations: 5.945 MB / 410 MB, free: 9.859 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02502/0.1395, allocations: 18.68 MB / 428.7 MB, free: 6.758 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004908/0.1444, allocations: 4.462 MB / 433.1 MB, free: 2.555 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002423/0.1468, allocations: 2.298 MB / 435.4 MB, free: 260 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007929/0.1547, allocations: 5.665 MB / 441.1 MB, free: 10.56 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.864e-05/0.1548, allocations: 60.56 kB / 441.2 MB, free: 10.49 MB / 410.7 MB Notification: Performance of pre-optimization done (n=219): time 4.158e-06/0.1548, allocations: 0 / 441.2 MB, free: 10.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=226): time 0.01184/0.1666, allocations: 8.988 MB / 450.1 MB, free: 1.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/0.1666, allocations: 73.41 kB / 450.2 MB, free: 1.398 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1504/0.3171, allocations: 3.042 MB / 453.3 MB, free: 110.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005237/0.3176, allocations: 67.52 kB / 453.3 MB, free: 110.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001304/0.3189, allocations: 2.236 MB / 455.6 MB, free: 109.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005978/0.3195, allocations: 0.7897 MB / 456.3 MB, free: 109.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004738/0.32, allocations: 466.9 kB / 456.8 MB, free: 109 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.936e-05/0.32, allocations: 301.1 kB / 457.1 MB, free: 108.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001291/0.3213, allocations: 1.286 MB / 458.4 MB, free: 108.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001507/0.3228, allocations: 1.95 MB / 460.3 MB, free: 107 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002537/0.3253, allocations: 3.345 MB / 463.7 MB, free: 105.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.979e-06/0.3254, allocations: 7.203 kB / 463.7 MB, free: 105.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=328) (initialization): time 0.004093/0.3294, allocations: 4.175 MB / 467.9 MB, free: 103 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.78e-05/0.3295, allocations: 15.72 kB / 467.9 MB, free: 103 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.19e-05/0.3295, allocations: 16 kB / 467.9 MB, free: 102.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001299/0.3308, allocations: 0.7649 MB / 468.7 MB, free: 102.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001115/0.3319, allocations: 0.5651 MB / 469.2 MB, free: 101.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005711/0.3376, allocations: 10.34 MB / 479.6 MB, free: 91.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001614/0.3392, allocations: 103.9 kB / 479.7 MB, free: 91.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001269/0.3394, allocations: 104 kB / 479.8 MB, free: 91.6 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.001782/0.3411, allocations: 1.62 MB / 481.4 MB, free: 89.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004103/0.3416, allocations: 329.9 kB / 481.7 MB, free: 89.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003466/0.345, allocations: 3.74 MB / 485.4 MB, free: 85.89 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/0.345, allocations: 23.84 kB / 485.5 MB, free: 85.87 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/0.345, allocations: 12 kB / 485.5 MB, free: 85.86 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/0.345, allocations: 7.969 kB / 485.5 MB, free: 85.85 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007574/0.3526, allocations: 7.909 MB / 493.4 MB, free: 77.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.3526, allocations: 0 / 493.4 MB, free: 77.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007674/0.3534, allocations: 347.8 kB / 493.7 MB, free: 77.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001457/0.3549, allocations: 0.9381 MB / 494.7 MB, free: 76.59 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001128/0.355, allocations: 59.97 kB / 494.7 MB, free: 76.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007677/0.3626, allocations: 14.96 MB / 0.4977 GB, free: 60.94 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.3626, allocations: 4 kB / 0.4978 GB, free: 60.93 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005564/0.3682, allocations: 5.534 MB / 0.5032 GB, free: 55.34 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002026/0.3702, allocations: 0.6382 MB / 0.5038 GB, free: 54.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004354/0.3707, allocations: 59.98 kB / 0.5038 GB, free: 54.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008405/0.3715, allocations: 103.9 kB / 0.5039 GB, free: 54.54 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003351/0.3718, allocations: 201.6 kB / 0.5041 GB, free: 54.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.822e-05/0.3719, allocations: 71.97 kB / 0.5042 GB, free: 54.28 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001955/0.3739, allocations: 2.075 MB / 0.5062 GB, free: 52.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3739, allocations: 0 / 0.5062 GB, free: 52.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002363/0.3763, allocations: 0.9511 MB / 0.5072 GB, free: 51.26 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.005184/0.3814, allocations: 6.246 MB / 0.5133 GB, free: 44.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003586/0.385, allocations: 3.711 MB / 0.5169 GB, free: 41.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.385, allocations: 0 / 0.5169 GB, free: 41.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002041/0.3871, allocations: 2.55 MB / 0.5194 GB, free: 38.58 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002382/0.3895, allocations: 0.9303 MB / 0.5203 GB, free: 37.67 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04085/0.4303, allocations: 33.78 MB / 0.5533 GB, free: 3.082 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002056/0.4324, allocations: 2.927 MB / 0.5561 GB, free: 108 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001742/0.4341, allocations: 0.7606 MB / 0.5569 GB, free: 15.34 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001761/0.4359, allocations: 1.859 MB / 0.5587 GB, free: 13.48 MB / 426.7 MB Notification: Performance of SimCode: time 1.042e-06/0.4359, allocations: 0 / 0.5587 GB, free: 13.48 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2535/0.6893, allocations: 90.89 MB / 0.6474 GB, free: 142.1 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.884/10.57, allocations: 8.609 kB / 0.6474 GB, free: 142.1 MB / 474.7 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Transformer.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.505712297745049] 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'] 10.70349449571222 10.710115786 10.635157345 Calling exit ...