Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.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.001319/0.001319, 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.001649/0.001649, 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.9409/0.9409, allocations: 177 MB / 204.1 MB, free: 5.75 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_YD,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_YD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_YD",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.166e-05/2.37e-05, allocations: 3.266 kB / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD): time 0.007921/0.007945, allocations: 9.162 MB / 333.7 MB, free: 6.676 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004976/0.01292, allocations: 3.116 MB / 336.8 MB, free: 3.543 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001179/0.0141, allocations: 67.56 kB / 336.9 MB, free: 3.477 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001418/0.01552, allocations: 0.7023 MB / 337.6 MB, free: 2.77 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002079/0.0176, allocations: 0.9624 MB / 338.5 MB, free: 1.801 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007608/0.01836, allocations: 435.2 kB / 339 MB, free: 1.375 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003087/0.02144, allocations: 3.547 MB / 342.5 MB, free: 13.81 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001794/0.02324, allocations: 1.381 MB / 343.9 MB, free: 12.37 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003001/0.02624, allocations: 2.269 MB / 346.2 MB, free: 10.1 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002159/0.0284, allocations: 1.664 MB / 347.8 MB, free: 8.43 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004127/0.02881, allocations: 396 kB / 348.2 MB, free: 8.043 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006215/0.02943, allocations: 495.8 kB / 348.7 MB, free: 7.559 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006646/0.0301, allocations: 1.157 MB / 349.9 MB, free: 6.398 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001105/0.0312, allocations: 1.224 MB / 351.1 MB, free: 5.172 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003854/0.03506, allocations: 5.325 MB / 356.4 MB, free: 15.83 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.03506, allocations: 0 / 356.4 MB, free: 15.83 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.03506, allocations: 0 / 356.4 MB, free: 15.83 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.035e-05/0.03515, allocations: 0 / 356.4 MB, free: 15.83 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: 658 * Number of variables: 658 Notification: Performance of Generate backend data structure: time 0.004712/0.03986, allocations: 3.519 MB / 359.9 MB, free: 12.26 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.03991, allocations: 15.98 kB / 359.9 MB, free: 12.25 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003459/0.04025, allocations: 367 kB / 360.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006622/0.04092, allocations: 398.7 kB / 360.7 MB, free: 11.49 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002183/0.0431, allocations: 1.878 MB / 362.6 MB, free: 9.57 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001075/0.04321, allocations: 201.4 kB / 362.8 MB, free: 9.371 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003757/0.04358, allocations: 268 kB / 363 MB, free: 9.109 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00392/0.0475, allocations: 3.628 MB / 366.6 MB, free: 5.355 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.508e-05/0.04755, allocations: 11.89 kB / 366.7 MB, free: 5.344 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001536/0.0477, allocations: 108 kB / 366.8 MB, free: 5.238 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.463e-05/0.04778, allocations: 108.9 kB / 366.9 MB, free: 5.129 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003365/0.05114, allocations: 3.091 MB / 370 MB, free: 2.023 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01031/0.06145, allocations: 9.796 MB / 379.8 MB, free: 7.957 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002138/0.06359, allocations: 2.042 MB / 381.8 MB, free: 5.926 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001276/0.06487, allocations: 1.294 MB / 383.1 MB, free: 4.629 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001545/0.06502, allocations: 57.27 kB / 383.2 MB, free: 4.574 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001112/0.06614, allocations: 1.256 MB / 384.4 MB, free: 3.262 MB / 346.7 MB Notification: Performance of pre-optimization done (n=156): time 3.316e-06/0.06614, allocations: 0 / 384.4 MB, free: 3.262 MB / 346.7 MB Notification: Performance of matching and sorting (n=172): time 0.01199/0.07813, allocations: 8.458 MB / 392.9 MB, free: 10.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.756e-05/0.07822, allocations: 180.2 kB / 393 MB, free: 10.54 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001961/0.08019, allocations: 1.872 MB / 394.9 MB, free: 8.668 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001223/0.08031, allocations: 57.7 kB / 395 MB, free: 8.605 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001076/0.08138, allocations: 1.226 MB / 396.2 MB, free: 7.367 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003746/0.08176, allocations: 0.581 MB / 396.8 MB, free: 6.781 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00036/0.08212, allocations: 355.5 kB / 397.1 MB, free: 6.43 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.698e-05/0.08219, allocations: 301.1 kB / 397.4 MB, free: 6.133 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001035/0.08322, allocations: 0.9955 MB / 398.4 MB, free: 5.137 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001249/0.08447, allocations: 1.535 MB / 399.9 MB, free: 3.414 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002582/0.08705, allocations: 2.454 MB / 402.4 MB, free: 0.8125 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.145e-05/0.08706, allocations: 4 kB / 402.4 MB, free: 0.8086 MB / 362.7 MB Notification: Performance of matching and sorting (n=234) (initialization): time 0.003855/0.09092, allocations: 3.316 MB / 405.7 MB, free: 13.46 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/0.09094, allocations: 12.06 kB / 405.7 MB, free: 13.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.646e-05/0.09096, allocations: 12 kB / 405.7 MB, free: 13.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00127/0.09223, allocations: 0.8844 MB / 406.6 MB, free: 12.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007238/0.09295, allocations: 335.5 kB / 407 MB, free: 12.22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007887/0.1008, allocations: 10.02 MB / 417 MB, free: 1.867 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001212/0.1021, allocations: 135.9 kB / 417.1 MB, free: 1.734 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001389/0.1022, allocations: 71.98 kB / 417.2 MB, free: 1.664 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 24 (booleanStepYD[3].y,booleanStepYD[2].y,booleanStepYD[1].y,switchYD.logicalDelay[3].tSwitch,$PRE.switchYD.logicalDelay[3].tSwitch,switchYD.logicalDelay[2].tSwitch,$PRE.switchYD.logicalDelay[2].tSwitch,switchYD.logicalDelay[1].tSwitch,$PRE.switchYD.logicalDelay[1].tSwitch,switchYD.idealOpener.control[3],switchYD.idealOpener.control[2],switchYD.idealOpener.control[1],switchYD.idealCloser.control[3],switchYD.idealCloser.control[2],switchYD.idealCloser.control[1],idealCloser.control[3],idealCloser.control[2],idealCloser.control[1],$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (185): * Single equations (assignments): 180 * 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 {(2,12,100.0%), (9,25,33.3%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001361/0.1036, allocations: 0.9292 MB / 418.1 MB, free: 0.7227 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003481/0.1039, allocations: 210.6 kB / 418.3 MB, free: 0.5156 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003386/0.1073, allocations: 3.091 MB / 421.4 MB, free: 13.39 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.828e-06/0.1073, allocations: 19.98 kB / 421.4 MB, free: 13.38 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/0.1073, allocations: 8 kB / 421.4 MB, free: 13.37 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/0.1073, allocations: 7.969 kB / 421.4 MB, free: 13.36 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007103/0.1144, allocations: 5.862 MB / 427.3 MB, free: 7.402 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.1144, allocations: 0 / 427.3 MB, free: 7.402 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004779/0.1149, allocations: 207.7 kB / 427.5 MB, free: 7.199 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001456/0.1164, allocations: 0.9331 MB / 428.4 MB, free: 6.25 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001634/0.1165, allocations: 43.97 kB / 428.5 MB, free: 6.207 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00934/0.1259, allocations: 11.51 MB / 440 MB, free: 10.24 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.1259, allocations: 0 / 440 MB, free: 10.24 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005076/0.1309, allocations: 4.496 MB / 444.5 MB, free: 5.68 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001005/0.1319, allocations: 438.4 kB / 444.9 MB, free: 5.25 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002216/0.1322, allocations: 43.98 kB / 445 MB, free: 5.207 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005858/0.1328, allocations: 100.2 kB / 445.1 MB, free: 5.109 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006973/0.1335, allocations: 204.8 kB / 445.3 MB, free: 4.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.725e-05/0.1335, allocations: 43.98 kB / 445.3 MB, free: 4.867 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001493/0.135, allocations: 1.271 MB / 446.6 MB, free: 3.605 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.135, allocations: 3.938 kB / 446.6 MB, free: 3.602 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001921/0.1369, allocations: 0.6328 MB / 447.2 MB, free: 2.969 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi) * Number of discrete variables: 21 (booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],switchYD.idealCloser.control[1],switchYD.idealCloser.control[2],switchYD.idealCloser.control[3],switchYD.idealOpener.control[1],switchYD.idealOpener.control[2],switchYD.idealOpener.control[3],switchYD.logicalDelay[1].tSwitch,switchYD.logicalDelay[2].tSwitch,switchYD.logicalDelay[3].tSwitch) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (123): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 {(2,12,100.0%), (1,1,100.0%), (9,25,33.3%), (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.1559/0.2928, allocations: 5.148 MB / 452.3 MB, free: 113.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003271/0.2961, allocations: 3.008 MB / 455.4 MB, free: 113.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.2961, allocations: 0 / 455.4 MB, free: 113.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00174/0.2979, allocations: 2.098 MB / 457.5 MB, free: 112.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00162/0.2995, allocations: 0.5732 MB / 458 MB, free: 111.9 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0233/0.3228, allocations: 22.48 MB / 480.5 MB, free: 92.91 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009925/0.3238, allocations: 1.623 MB / 482.1 MB, free: 91.25 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009075/0.3247, allocations: 469.3 kB / 482.6 MB, free: 90.79 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007259/0.3254, allocations: 1.012 MB / 483.6 MB, free: 89.78 MB / 410.7 MB Notification: Performance of SimCode: time 1.092e-06/0.3254, allocations: 0 / 483.6 MB, free: 89.78 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06983/0.3952, allocations: 64.38 MB / 0.5351 GB, free: 25.87 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.833/9.228, allocations: 11.88 kB / 0.5352 GB, free: 25.86 MB / 410.7 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD_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_YD.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.172219267114997] 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'] 9.344067779369652 9.350579816 9.314036336 Calling exit ...