Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008348/0.0008348, allocations: 76.08 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007449/0.0007449, allocations: 153.1 kB / 23.93 MB, free: 0.6328 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.862/0.862, allocations: 173.4 MB / 200.4 MB, free: 9.434 MB / 186.7 MB " [Timeout remaining time 179] 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.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,fileNamePrefix="Modelica_4_0_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_0_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 2.225e-06/2.225e-06, allocations: 0 / 318.5 MB, free: 6.352 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.001e-05/2.223e-05, allocations: 2.281 kB / 318.5 MB, free: 6.348 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.01158/0.0116, allocations: 14.66 MB / 333.1 MB, free: 7.617 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008539/0.02014, allocations: 5.412 MB / 338.5 MB, free: 2.188 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0017/0.02184, allocations: 139.1 kB / 338.7 MB, free: 2.051 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002217/0.02406, allocations: 1.343 MB / 340 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002989/0.02705, allocations: 1.886 MB / 341.9 MB, free: 14.8 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001298/0.02835, allocations: 1.027 MB / 342.9 MB, free: 13.77 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004253/0.0326, allocations: 6.541 MB / 349.5 MB, free: 7.199 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002476/0.03508, allocations: 2.752 MB / 352.2 MB, free: 4.363 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003743/0.03882, allocations: 4.402 MB / 356.6 MB, free: 15.97 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002586/0.0414, allocations: 2.927 MB / 359.5 MB, free: 13.04 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006878/0.04209, allocations: 0.7891 MB / 360.3 MB, free: 12.25 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001077/0.04317, allocations: 1.05 MB / 361.4 MB, free: 11.2 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009234/0.04409, allocations: 1.913 MB / 363.3 MB, free: 9.277 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00152/0.04561, allocations: 2.292 MB / 365.6 MB, free: 6.98 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006312/0.05193, allocations: 10.67 MB / 376.3 MB, free: 12.28 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.309e-06/0.05193, allocations: 4 kB / 376.3 MB, free: 12.27 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.05193, allocations: 0 / 376.3 MB, free: 12.27 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.000119/0.05205, allocations: 7.875 kB / 376.3 MB, free: 12.27 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.008555/0.0606, allocations: 6.522 MB / 382.8 MB, free: 5.672 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.06065, allocations: 8.031 kB / 382.8 MB, free: 5.664 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006289/0.06128, allocations: 0.675 MB / 383.5 MB, free: 4.98 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00254/0.06382, allocations: 1.086 MB / 384.6 MB, free: 3.891 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004081/0.0679, allocations: 3.575 MB / 388.1 MB, free: 252 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001737/0.06807, allocations: 374.2 kB / 388.5 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004668/0.06854, allocations: 484 kB / 389 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00718/0.07572, allocations: 7.178 MB / 396.2 MB, free: 8.074 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.759e-05/0.07578, allocations: 11.94 kB / 396.2 MB, free: 8.062 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003222/0.07611, allocations: 204 kB / 396.4 MB, free: 7.863 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001434/0.07625, allocations: 241.8 kB / 396.6 MB, free: 7.625 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006453/0.0827, allocations: 5.929 MB / 402.5 MB, free: 1.684 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02109/0.1038, allocations: 18.6 MB / 421.1 MB, free: 14.66 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006118/0.1099, allocations: 4.448 MB / 425.6 MB, free: 10.48 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002283/0.1122, allocations: 2.294 MB / 427.9 MB, free: 8.184 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006654/0.1188, allocations: 5.631 MB / 433.5 MB, free: 2.52 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.1189, allocations: 56.56 kB / 433.6 MB, free: 2.453 MB / 394.7 MB Notification: Performance of pre-optimization done (n=219): time 3.456e-06/0.1189, allocations: 0 / 433.6 MB, free: 2.453 MB / 394.7 MB Notification: Performance of matching and sorting (n=226): time 0.01064/0.1295, allocations: 8.961 MB / 442.5 MB, free: 9.469 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.115e-05/0.1296, allocations: 73.41 kB / 442.6 MB, free: 9.387 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00283/0.1324, allocations: 3.019 MB / 445.6 MB, free: 6.352 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001004/0.1325, allocations: 65.7 kB / 445.7 MB, free: 6.281 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001145/0.1336, allocations: 2.213 MB / 447.9 MB, free: 4.051 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003869/0.134, allocations: 0.794 MB / 448.7 MB, free: 3.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004804/0.1345, allocations: 465.2 kB / 449.1 MB, free: 2.789 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.154e-05/0.1346, allocations: 305.1 kB / 449.4 MB, free: 2.488 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001298/0.1359, allocations: 1.293 MB / 450.7 MB, free: 1.191 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1379/0.2738, allocations: 1.942 MB / 452.7 MB, free: 115.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003349/0.2771, allocations: 3.343 MB / 456 MB, free: 114.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.171e-05/0.2771, allocations: 5.469 kB / 456 MB, free: 114.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=328) (initialization): time 0.003969/0.2811, allocations: 4.164 MB / 460.2 MB, free: 112.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.2811, allocations: 13.64 kB / 460.2 MB, free: 112.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.821e-05/0.2811, allocations: 18.59 kB / 460.2 MB, free: 112.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001229/0.2824, allocations: 0.7677 MB / 461 MB, free: 112.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001111/0.2835, allocations: 0.5603 MB / 461.5 MB, free: 112.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005398/0.2889, allocations: 10.35 MB / 471.9 MB, free: 103.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001124/0.29, allocations: 104.5 kB / 472 MB, free: 103.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001129/0.2901, allocations: 103.7 kB / 472.1 MB, free: 103.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.001726/0.2918, allocations: 1.606 MB / 473.7 MB, free: 102.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002975/0.2921, allocations: 329.8 kB / 474 MB, free: 102.1 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003569/0.2957, allocations: 3.734 MB / 477.8 MB, free: 98.77 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/0.2957, allocations: 24 kB / 477.8 MB, free: 98.75 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/0.2957, allocations: 11.66 kB / 477.8 MB, free: 98.74 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/0.2957, allocations: 11.95 kB / 477.8 MB, free: 98.73 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006984/0.3027, allocations: 7.884 MB / 485.7 MB, free: 90.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.3027, allocations: 4 kB / 485.7 MB, free: 90.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000732/0.3035, allocations: 339.8 kB / 486 MB, free: 90.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001396/0.3049, allocations: 0.9321 MB / 487 MB, free: 89.52 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001155/0.305, allocations: 59.97 kB / 487 MB, free: 89.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007817/0.3128, allocations: 14.91 MB / 0.4902 GB, free: 74.06 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.3128, allocations: 4 kB / 0.4902 GB, free: 74.05 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005342/0.3181, allocations: 5.525 MB / 0.4956 GB, free: 68.62 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001202/0.3193, allocations: 0.6383 MB / 0.4962 GB, free: 67.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003433/0.3197, allocations: 57.77 kB / 0.4962 GB, free: 67.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008669/0.3205, allocations: 103.9 kB / 0.4963 GB, free: 67.82 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003726/0.3209, allocations: 209.6 kB / 0.4965 GB, free: 67.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.126e-05/0.321, allocations: 55.98 kB / 0.4966 GB, free: 67.56 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001943/0.3229, allocations: 2.062 MB / 0.4986 GB, free: 65.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3229, allocations: 0 / 0.4986 GB, free: 65.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002111/0.3251, allocations: 0.9397 MB / 0.4995 GB, free: 64.56 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%), (2,26,100.0%), (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.005347/0.3304, allocations: 6.253 MB / 0.5056 GB, free: 58.27 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003708/0.3341, allocations: 3.702 MB / 0.5092 GB, free: 54.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.3341, allocations: 0 / 0.5092 GB, free: 54.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001997/0.3361, allocations: 2.543 MB / 0.5117 GB, free: 51.91 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002121/0.3382, allocations: 0.914 MB / 0.5126 GB, free: 51 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03569/0.3739, allocations: 33.67 MB / 0.5455 GB, free: 16.52 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001818/0.3757, allocations: 2.908 MB / 0.5483 GB, free: 13.57 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001399/0.3771, allocations: 0.7682 MB / 0.5491 GB, free: 12.79 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001257/0.3784, allocations: 1.84 MB / 0.5509 GB, free: 10.95 MB / 410.7 MB Notification: Performance of SimCode: time 1.202e-06/0.3784, allocations: 3.938 kB / 0.5509 GB, free: 10.95 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2453/0.6237, allocations: 90.24 MB / 0.639 GB, free: 130.9 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.376/9.999, allocations: 9.688 kB / 0.639 GB, free: 130.9 MB / 458.7 MB " [Timeout remaining time 650] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Transformer.fmu > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.841309368610382] 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.129218797199428 10.13661003 10.083118037 Calling exit ...