Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.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.001175/0.001175, allocations: 80.34 kB / 20.67 MB, free: 3.891 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.0008653/0.0008653, 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.8797/0.8797, allocations: 177 MB / 204.1 MB, free: 5.73 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.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.502e-06/1.502e-06, allocations: 0 / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.805e-05/1.956e-05, allocations: 3.266 kB / 324.5 MB, free: 15.87 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.008914/0.008933, allocations: 11.36 MB / 335.9 MB, free: 4.453 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00598/0.01491, allocations: 4.054 MB / 339.9 MB, free: 388 kB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001245/0.01616, allocations: 103.3 kB / 340.1 MB, free: 284 kB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0017/0.01786, allocations: 0.978 MB / 341 MB, free: 15.29 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002291/0.02015, allocations: 1.3 MB / 342.3 MB, free: 13.98 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000795/0.02094, allocations: 0.542 MB / 342.9 MB, free: 13.44 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003358/0.0243, allocations: 4.842 MB / 347.7 MB, free: 8.574 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001865/0.02617, allocations: 2.011 MB / 349.7 MB, free: 6.504 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003366/0.02953, allocations: 3.206 MB / 352.9 MB, free: 3.309 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002051/0.03158, allocations: 2.299 MB / 355.2 MB, free: 1.004 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004084/0.03199, allocations: 0.5508 MB / 355.8 MB, free: 464 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007596/0.03275, allocations: 0.6638 MB / 356.4 MB, free: 15.79 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000783/0.03354, allocations: 1.581 MB / 358 MB, free: 14.2 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001072/0.03461, allocations: 1.731 MB / 359.8 MB, free: 12.47 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004296/0.0389, allocations: 7.576 MB / 367.3 MB, free: 4.871 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.03891, allocations: 4 kB / 367.3 MB, free: 4.867 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.03891, allocations: 4 kB / 367.3 MB, free: 4.863 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.537e-05/0.03895, allocations: 0 / 367.3 MB, free: 4.863 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: 940 * Number of variables: 940 Notification: Performance of Generate backend data structure: time 0.004884/0.04384, allocations: 4.72 MB / 372.1 MB, free: 88 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.04388, allocations: 11.98 kB / 372.1 MB, free: 76 kB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004291/0.0443, allocations: 0.5022 MB / 372.6 MB, free: 15.56 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008101/0.04511, allocations: 0.5526 MB / 373.1 MB, free: 15.01 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002962/0.04808, allocations: 2.54 MB / 375.7 MB, free: 12.39 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001255/0.0482, allocations: 267.4 kB / 375.9 MB, free: 12.13 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000339/0.04854, allocations: 356.3 kB / 376.3 MB, free: 11.79 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005204/0.05375, allocations: 5.315 MB / 381.6 MB, free: 6.344 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.603e-05/0.0538, allocations: 8 kB / 381.6 MB, free: 6.336 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000221/0.05402, allocations: 140 kB / 381.7 MB, free: 6.199 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001167/0.05414, allocations: 191.1 kB / 381.9 MB, free: 6.012 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004433/0.05857, allocations: 4.314 MB / 386.2 MB, free: 1.691 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01346/0.07203, allocations: 13.43 MB / 399.7 MB, free: 3.93 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002411/0.07444, allocations: 2.689 MB / 402.4 MB, free: 1.27 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002132/0.07657, allocations: 1.881 MB / 404.2 MB, free: 15.39 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001665/0.07674, allocations: 57.95 kB / 404.3 MB, free: 15.34 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.07677, allocations: 56.56 kB / 404.4 MB, free: 15.27 MB / 378.7 MB Notification: Performance of pre-optimization done (n=198): time 3.066e-06/0.07677, allocations: 0 / 404.4 MB, free: 15.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=218): time 0.01151/0.08828, allocations: 9.616 MB / 414 MB, free: 5.641 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.802e-05/0.08833, allocations: 85.34 kB / 414 MB, free: 5.547 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002337/0.09067, allocations: 2.541 MB / 416.6 MB, free: 2.984 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.467e-05/0.09076, allocations: 65.69 kB / 416.7 MB, free: 2.914 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001096/0.09186, allocations: 1.662 MB / 418.3 MB, free: 1.234 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000436/0.09229, allocations: 0.7591 MB / 419.1 MB, free: 480 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004544/0.09275, allocations: 416.5 kB / 419.5 MB, free: 56 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.583e-05/0.09283, allocations: 305.1 kB / 419.8 MB, free: 15.75 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001326/0.09416, allocations: 1.301 MB / 421.1 MB, free: 14.45 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001495/0.09566, allocations: 1.77 MB / 422.9 MB, free: 12.49 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003555/0.09921, allocations: 3.219 MB / 426.1 MB, free: 9.086 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/0.09922, allocations: 4 kB / 426.1 MB, free: 9.082 MB / 394.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.004311/0.1035, allocations: 4.069 MB / 430.1 MB, free: 4.988 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.638e-05/0.1036, allocations: 12 kB / 430.2 MB, free: 4.977 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.755e-05/0.1036, allocations: 15.98 kB / 430.2 MB, free: 4.961 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001455/0.105, allocations: 0.8877 MB / 431.1 MB, free: 4.059 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001395/0.1064, allocations: 0.5266 MB / 431.6 MB, free: 3.531 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006922/0.1133, allocations: 9.052 MB / 440.6 MB, free: 10.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001164/0.1145, allocations: 119.9 kB / 440.8 MB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001138/0.1146, allocations: 84 kB / 440.8 MB, free: 9.941 MB / 410.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.001483/0.1161, allocations: 1.223 MB / 442.1 MB, free: 8.707 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003043/0.1164, allocations: 290.2 kB / 442.3 MB, free: 8.422 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004142/0.1206, allocations: 3.699 MB / 446 MB, free: 4.691 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/0.1206, allocations: 20 kB / 446.1 MB, free: 4.672 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.1206, allocations: 8 kB / 446.1 MB, free: 4.664 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.374e-05/0.1206, allocations: 15.95 kB / 446.1 MB, free: 4.648 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1585/0.2791, allocations: 7.542 MB / 453.6 MB, free: 112 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.299e-05/0.2791, allocations: 0 / 453.6 MB, free: 112 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008648/0.28, allocations: 381 kB / 454 MB, free: 112 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001527/0.2815, allocations: 0.9344 MB / 454.9 MB, free: 112 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001136/0.2816, allocations: 57.86 kB / 455 MB, free: 111.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005525/0.2872, allocations: 10.57 MB / 465.6 MB, free: 104.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.2872, allocations: 7.344 kB / 465.6 MB, free: 104.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004395/0.2916, allocations: 5.509 MB / 471.1 MB, free: 100.6 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007857/0.2924, allocations: 0.5852 MB / 471.7 MB, free: 100.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001847/0.2925, allocations: 55.7 kB / 471.7 MB, free: 100.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006554/0.2932, allocations: 114.7 kB / 471.8 MB, free: 100.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002339/0.2934, allocations: 189 kB / 472 MB, free: 99.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.216e-05/0.2935, allocations: 55.94 kB / 472.1 MB, free: 99.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001455/0.295, allocations: 1.748 MB / 473.8 MB, free: 98.38 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.295, allocations: 0 / 473.8 MB, free: 98.38 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001321/0.2963, allocations: 0.7957 MB / 474.6 MB, free: 97.58 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.004709/0.301, allocations: 6.185 MB / 480.8 MB, free: 91.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003089/0.3041, allocations: 3.618 MB / 484.4 MB, free: 87.87 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.3041, allocations: 8 kB / 484.4 MB, free: 87.87 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001748/0.3058, allocations: 2.303 MB / 486.7 MB, free: 85.54 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001718/0.3075, allocations: 0.7961 MB / 487.5 MB, free: 84.77 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03134/0.3389, allocations: 29.68 MB / 0.5051 GB, free: 54.41 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001379/0.3403, allocations: 2.248 MB / 0.5073 GB, free: 52.12 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00127/0.3415, allocations: 0.6868 MB / 0.508 GB, free: 51.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00101/0.3425, allocations: 1.426 MB / 0.5093 GB, free: 50.01 MB / 410.7 MB Notification: Performance of SimCode: time 1.342e-06/0.3425, allocations: 1.312 kB / 0.5093 GB, free: 50.01 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07663/0.4192, allocations: 78.32 MB / 0.5858 GB, free: 4.23 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.242/9.661, allocations: 3.797 kB / 0.5858 GB, free: 4.23 MB / 442.7 MB " [Timeout remaining time 650] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Transformer.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.570939220488071] 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.785489545203745 9.797650076 9.756437969 Calling exit ...