Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.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.00126/0.00126, allocations: 107.9 kB / 18.48 MB, free: 4.543 MB / 14.72 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.001266/0.001266, allocations: 198.5 kB / 21.43 MB, free: 1.609 MB / 14.72 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 1.418/1.418, allocations: 225.6 MB / 249.8 MB, free: 3.605 MB / 190.1 MB " [Timeout remaining time 178] 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_DOL,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 47.94 kB / 366.4 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1086, allocations: 52.13 MB / 418.5 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01156/0.1202, allocations: 9.437 MB / 427.9 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006561/0.1267, allocations: 2.991 MB / 430.9 MB, free: 132 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001673/0.1284, allocations: 59.62 kB / 431 MB, free: 72 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001949/0.1303, allocations: 0.6601 MB / 431.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002543/0.1329, allocations: 0.804 MB / 432.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007367/0.1336, allocations: 347.5 kB / 432.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002906/0.1365, allocations: 2.665 MB / 435.4 MB, free: 11.58 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001899/0.1384, allocations: 1.526 MB / 437 MB, free: 9.988 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001502/0.1399, allocations: 1.219 MB / 438.2 MB, free: 8.766 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001936/0.1419, allocations: 1.537 MB / 439.7 MB, free: 7.223 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003959/0.1423, allocations: 308 kB / 440 MB, free: 6.922 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000669/0.1429, allocations: 395.8 kB / 440.4 MB, free: 6.535 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009408/0.1439, allocations: 0.896 MB / 441.3 MB, free: 5.637 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001536/0.1454, allocations: 1.412 MB / 442.7 MB, free: 4.219 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004087/0.1495, allocations: 4.091 MB / 446.8 MB, free: 116 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1495, allocations: 0 / 446.8 MB, free: 116 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1495, allocations: 0 / 446.8 MB, free: 116 kB / 366.1 MB Notification: Performance of Transformations before backend: time 5.461e-05/0.1496, allocations: 4 kB / 446.8 MB, free: 112 kB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.1925/0.3421, allocations: 2.916 MB / 449.7 MB, free: 28.92 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.3421, allocations: 8.938 kB / 449.7 MB, free: 28.92 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.96e-05/0.3422, allocations: 52.47 kB / 449.8 MB, free: 28.91 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000304/0.3425, allocations: 298.9 kB / 450.1 MB, free: 28.86 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006152/0.3431, allocations: 303.5 kB / 450.4 MB, free: 28.71 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002037/0.3451, allocations: 1.542 MB / 451.9 MB, free: 28.24 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-05/0.3452, allocations: 151.8 kB / 452.1 MB, free: 28.23 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000244/0.3455, allocations: 204.7 kB / 452.3 MB, free: 28.23 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004058/0.3495, allocations: 2.736 MB / 455 MB, free: 27.43 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.261e-05/0.3496, allocations: 5.984 kB / 455 MB, free: 27.43 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001796/0.3498, allocations: 84.8 kB / 455.1 MB, free: 27.36 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001174/0.3499, allocations: 96.31 kB / 455.2 MB, free: 27.36 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003705/0.3536, allocations: 2.329 MB / 457.5 MB, free: 26.55 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01212/0.3657, allocations: 8.331 MB / 465.8 MB, free: 22.18 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00216/0.3679, allocations: 1.712 MB / 467.6 MB, free: 21.03 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001826/0.3697, allocations: 1.015 MB / 468.6 MB, free: 20.55 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002142/0.3699, allocations: 120.4 kB / 468.7 MB, free: 20.44 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/0.37, allocations: 48.09 kB / 468.7 MB, free: 20.39 MB / 366.1 MB Notification: Performance of pre-optimization done (n=104): time 3.677e-06/0.37, allocations: 1.766 kB / 468.7 MB, free: 20.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=120): time 0.01243/0.3824, allocations: 6.225 MB / 475 MB, free: 16.9 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/0.3824, allocations: 64.78 kB / 475 MB, free: 16.84 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002226/0.3847, allocations: 1.509 MB / 476.5 MB, free: 16.04 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.837e-05/0.3847, allocations: 45.67 kB / 476.6 MB, free: 15.99 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006012/0.3853, allocations: 1.015 MB / 477.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003029/0.3856, allocations: 435.9 kB / 478 MB, free: 14.73 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004073/0.3861, allocations: 259.3 kB / 478.3 MB, free: 14.58 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.817e-05/0.3862, allocations: 357.6 kB / 478.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000989/0.3871, allocations: 0.7319 MB / 479.4 MB, free: 13.87 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009827/0.3881, allocations: 1.06 MB / 480.4 MB, free: 13.09 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001934/0.3901, allocations: 1.875 MB / 482.3 MB, free: 11.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.673e-06/0.3901, allocations: 2.156 kB / 482.3 MB, free: 11.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003205/0.3933, allocations: 2.35 MB / 484.6 MB, free: 9.789 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.3933, allocations: 13.69 kB / 484.7 MB, free: 9.777 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/0.3933, allocations: 11.98 kB / 484.7 MB, free: 9.766 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008272/0.3941, allocations: 411.6 kB / 485.1 MB, free: 9.352 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001073/0.3952, allocations: 327.5 kB / 485.4 MB, free: 9.031 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003521/0.3987, allocations: 5.063 MB / 490.5 MB, free: 3.703 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001154/0.3999, allocations: 91.86 kB / 490.5 MB, free: 3.613 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.043e-05/0.4, allocations: 59.92 kB / 490.6 MB, free: 3.559 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 3 (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 (156): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 2 systems {(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.0009791/0.4009, allocations: 0.7089 MB / 491.3 MB, free: 2.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002358/0.4012, allocations: 171 kB / 491.5 MB, free: 2.672 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002909/0.4041, allocations: 2.133 MB / 493.6 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.4041, allocations: 12 kB / 493.6 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.4041, allocations: 7.938 kB / 493.6 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/0.4041, allocations: 3.984 kB / 493.6 MB, free: 500 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007713/0.4118, allocations: 4.559 MB / 498.2 MB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.628e-06/0.4118, allocations: 4 kB / 498.2 MB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009557/0.4128, allocations: 222.8 kB / 498.4 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001294/0.4141, allocations: 470.9 kB / 498.9 MB, free: 11.17 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.935e-05/0.4142, allocations: 31.97 kB / 498.9 MB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006966/0.4211, allocations: 6.677 MB / 0.4937 GB, free: 4.039 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.4211, allocations: 11.95 kB / 0.4937 GB, free: 4.027 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005321/0.4265, allocations: 3.184 MB / 0.4969 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009475/0.4274, allocations: 407.9 kB / 0.4972 GB, free: 380 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002007/0.4276, allocations: 28.5 kB / 0.4973 GB, free: 352 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008225/0.4284, allocations: 75.91 kB / 0.4973 GB, free: 276 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002719/0.4287, allocations: 108.2 kB / 0.4974 GB, free: 172 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.998e-05/0.4288, allocations: 42.11 kB / 0.4975 GB, free: 132 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001617/0.4304, allocations: 1.048 MB / 0.4985 GB, free: 15.08 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4304, allocations: 0 / 0.4985 GB, free: 15.08 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001513/0.4319, allocations: 460 kB / 0.4989 GB, free: 14.63 MB / 398.1 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: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 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): 3 systems {(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.005539/0.4375, allocations: 3.809 MB / 0.5027 GB, free: 10.76 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003769/0.4412, allocations: 2.204 MB / 0.5048 GB, free: 8.488 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.4412, allocations: 0 / 0.5048 GB, free: 8.488 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002355/0.4436, allocations: 1.437 MB / 0.5062 GB, free: 6.988 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002114/0.4457, allocations: 443.1 kB / 0.5066 GB, free: 6.578 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02814/0.4739, allocations: 17.42 MB / 0.5237 GB, free: 4.605 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001636/0.4755, allocations: 1.826 MB / 0.5254 GB, free: 2.746 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001151/0.4766, allocations: 393.5 kB / 0.5258 GB, free: 2.355 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00112/0.4778, allocations: 0.7961 MB / 0.5266 GB, free: 1.562 MB / 414.1 MB Notification: Performance of SimCode: time 8.12e-07/0.4778, allocations: 0 / 0.5266 GB, free: 1.562 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1132/0.5909, allocations: 43.57 MB / 0.5691 GB, free: 6.414 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.89/20.48, allocations: 20.03 kB / 0.5692 GB, free: 6.395 MB / 462.1 MB " [Timeout remaining time 639] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 22.969978376990184] 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'] 20.657130659965333 20.672319989 20.519686957 Calling exit ...