Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.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.0008436/0.0008436, allocations: 76.06 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.0008763/0.0008763, allocations: 149.1 kB / 23.93 MB, free: 0.6289 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.8724/0.8724, allocations: 173.4 MB / 200.5 MB, free: 9.414 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.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 318.4 MB, free: 6.332 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.889e-05/2.054e-05, allocations: 2.281 kB / 318.4 MB, free: 6.328 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.009078/0.009098, allocations: 11.28 MB / 329.7 MB, free: 10.99 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006642/0.01574, allocations: 3.98 MB / 333.7 MB, free: 6.996 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001488/0.01723, allocations: 103.3 kB / 333.8 MB, free: 6.895 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001758/0.01899, allocations: 0.9663 MB / 334.8 MB, free: 5.922 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002356/0.02134, allocations: 1.284 MB / 336.1 MB, free: 4.629 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007316/0.02207, allocations: 0.5225 MB / 336.6 MB, free: 4.105 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003486/0.02556, allocations: 4.805 MB / 341.4 MB, free: 15.27 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001751/0.02731, allocations: 2.007 MB / 343.4 MB, free: 13.2 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003108/0.03042, allocations: 3.154 MB / 346.6 MB, free: 10.05 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001755/0.03217, allocations: 2.284 MB / 348.8 MB, free: 7.766 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000411/0.03258, allocations: 0.5546 MB / 349.4 MB, free: 7.211 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006065/0.03319, allocations: 0.6404 MB / 350 MB, free: 6.57 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008001/0.03399, allocations: 1.578 MB / 351.6 MB, free: 4.988 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001254/0.03524, allocations: 1.723 MB / 353.3 MB, free: 3.262 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004249/0.03949, allocations: 7.541 MB / 360.9 MB, free: 11.7 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.0395, allocations: 0 / 360.9 MB, free: 11.7 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.0395, allocations: 4 kB / 360.9 MB, free: 11.7 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.77e-05/0.03957, allocations: 4 kB / 360.9 MB, free: 11.69 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.005463/0.04503, allocations: 4.677 MB / 365.6 MB, free: 6.961 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.04507, allocations: 12.92 kB / 365.6 MB, free: 6.949 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004442/0.04552, allocations: 0.4981 MB / 366.1 MB, free: 6.441 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001052/0.04657, allocations: 0.5214 MB / 366.6 MB, free: 5.918 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002946/0.04951, allocations: 2.516 MB / 369.1 MB, free: 3.359 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001321/0.04965, allocations: 263.4 kB / 369.4 MB, free: 3.102 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003454/0.04999, allocations: 364 kB / 369.7 MB, free: 2.746 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005437/0.05543, allocations: 5.276 MB / 375 MB, free: 13.34 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.67e-05/0.05549, allocations: 15.94 kB / 375 MB, free: 13.33 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002377/0.05572, allocations: 148 kB / 375.2 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001099/0.05583, allocations: 179.1 kB / 375.3 MB, free: 13.01 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004461/0.06029, allocations: 4.294 MB / 379.6 MB, free: 8.707 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01371/0.07401, allocations: 13.39 MB / 393 MB, free: 10.99 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002692/0.0767, allocations: 2.696 MB / 395.7 MB, free: 8.324 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001892/0.07859, allocations: 1.87 MB / 397.6 MB, free: 6.453 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001788/0.07877, allocations: 57.95 kB / 397.6 MB, free: 6.398 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.213e-05/0.0788, allocations: 56.56 kB / 397.7 MB, free: 6.332 MB / 362.7 MB Notification: Performance of pre-optimization done (n=198): time 3.266e-06/0.0788, allocations: 3.938 kB / 397.7 MB, free: 6.328 MB / 362.7 MB Notification: Performance of matching and sorting (n=218): time 0.0114/0.0902, allocations: 9.609 MB / 407.3 MB, free: 12.71 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.903e-05/0.09024, allocations: 73.41 kB / 407.4 MB, free: 12.62 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002532/0.09277, allocations: 2.533 MB / 409.9 MB, free: 10.07 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001027/0.09288, allocations: 69.7 kB / 410 MB, free: 9.996 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007309/0.09361, allocations: 1.65 MB / 411.6 MB, free: 8.328 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003724/0.09398, allocations: 0.7553 MB / 412.4 MB, free: 7.566 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004298/0.09441, allocations: 412.5 kB / 412.8 MB, free: 7.156 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.674e-05/0.09448, allocations: 301.1 kB / 413.1 MB, free: 6.859 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001295/0.09577, allocations: 1.301 MB / 414.4 MB, free: 5.555 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001498/0.09727, allocations: 1.774 MB / 416.2 MB, free: 3.59 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002928/0.1002, allocations: 3.211 MB / 419.4 MB, free: 204 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.664e-06/0.1002, allocations: 8 kB / 419.4 MB, free: 196 kB / 378.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.004102/0.1043, allocations: 4.069 MB / 423.4 MB, free: 12.1 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/0.1043, allocations: 12 kB / 423.5 MB, free: 12.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.601e-05/0.1043, allocations: 12 kB / 423.5 MB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001565/0.1059, allocations: 0.8836 MB / 424.3 MB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001038/0.1069, allocations: 0.5305 MB / 424.9 MB, free: 10.64 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006448/0.1134, allocations: 9.073 MB / 433.9 MB, free: 1.234 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/0.1144, allocations: 119.9 kB / 434.1 MB, free: 1.117 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001184/0.1145, allocations: 84 kB / 434.1 MB, free: 1.035 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * 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 (252): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 3 systems {(3,25,77.8%), (2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001458/0.116, allocations: 1.215 MB / 435.4 MB, free: 15.81 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002944/0.1163, allocations: 290.2 kB / 435.6 MB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003971/0.1202, allocations: 3.703 MB / 439.4 MB, free: 11.79 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.779e-06/0.1203, allocations: 20 kB / 439.4 MB, free: 11.77 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.1203, allocations: 11.94 kB / 439.4 MB, free: 11.75 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.237e-05/0.1203, allocations: 7.969 kB / 439.4 MB, free: 11.75 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00803/0.1283, allocations: 7.528 MB / 446.9 MB, free: 4.109 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/0.1283, allocations: 4 kB / 446.9 MB, free: 4.105 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008482/0.1292, allocations: 387.8 kB / 447.3 MB, free: 3.727 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001554/0.1307, allocations: 0.9291 MB / 448.2 MB, free: 2.781 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.97e-05/0.1308, allocations: 63.97 kB / 448.3 MB, free: 2.719 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1484/0.2792, allocations: 10.57 MB / 458.9 MB, free: 113.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.2792, allocations: 8.828 kB / 458.9 MB, free: 113.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005009/0.2842, allocations: 5.491 MB / 464.4 MB, free: 111.4 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009095/0.2851, allocations: 0.5798 MB / 464.9 MB, free: 111.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002105/0.2854, allocations: 43.78 kB / 465 MB, free: 111.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007107/0.2861, allocations: 122.4 kB / 465.1 MB, free: 111.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002757/0.2863, allocations: 192.1 kB / 465.3 MB, free: 111.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.826e-05/0.2864, allocations: 57.84 kB / 465.3 MB, free: 111.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001533/0.288, allocations: 1.735 MB / 467.1 MB, free: 109.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.288, allocations: 1.656 kB / 467.1 MB, free: 109.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001513/0.2895, allocations: 0.7957 MB / 467.9 MB, free: 109 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],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 (175): * Single equations (assignments): 170 * 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,88.9%), (2,12,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004796/0.2943, allocations: 6.195 MB / 474.1 MB, free: 103.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002966/0.2972, allocations: 3.618 MB / 477.7 MB, free: 99.88 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.2972, allocations: 0 / 477.7 MB, free: 99.88 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001795/0.299, allocations: 2.305 MB / 480 MB, free: 97.54 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001744/0.3008, allocations: 0.7846 MB / 480.8 MB, free: 96.81 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02678/0.3276, allocations: 29.62 MB / 0.4984 GB, free: 66.59 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001262/0.3288, allocations: 2.239 MB / 0.5006 GB, free: 64.31 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001103/0.3299, allocations: 0.6827 MB / 0.5013 GB, free: 63.62 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009962/0.3309, allocations: 1.411 MB / 0.5027 GB, free: 62.21 MB / 410.7 MB Notification: Performance of SimCode: time 7.62e-07/0.3309, allocations: 4 kB / 0.5027 GB, free: 62.21 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07569/0.4066, allocations: 78.05 MB / 0.5789 GB, free: 0.8672 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.451/9.858, allocations: 11.56 kB / 0.5789 GB, free: 0.8633 MB / 426.7 MB " [Timeout remaining time 650] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.Machines.Examples.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_Electrical_Machines_Examples_InductionMachines_IMC_Transformer.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.70643696282059] Failed to read output from testmodel.py, exit status != 0: ['time', 'aimc.is[1]', 'aimc.is[2]', 'aimc.idq_rr[1]', 'aimc.idq_rr[2]', 'aimc.idq_sr[1]', 'aimc.idq_sr[2]', 'loadInertia.phi', 'loadInertia.w', 'transformer.l2sigma.inductor[2].i', 'transformer.l2sigma.inductor[3].i'] 9.979124412871897 9.986384731 9.945144411 Calling exit ...