Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 118.3 kB / 19.17 MB, free: 3.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001596/0.001596, allocations: 205.7 kB / 22.12 MB, free: 0.9609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.399/1.399, allocations: 207.6 MB / 232.5 MB, free: 3.949 MB / 174.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_DOL",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_DOL",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001665/0.001665, allocations: 55.92 kB / 343 MB, free: 9.988 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09171/0.09337, allocations: 49.13 MB / 392.1 MB, free: 8.691 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL): time 0.01147/0.1048, allocations: 9.396 MB / 401.5 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005888/0.1107, allocations: 3.035 MB / 404.6 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001114/0.1118, allocations: 47.69 kB / 404.6 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001653/0.1135, allocations: 0.6756 MB / 405.3 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002374/0.1159, allocations: 0.8156 MB / 406.1 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008033/0.1167, allocations: 355.5 kB / 406.4 MB, free: 10.31 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002941/0.1196, allocations: 2.685 MB / 409.1 MB, free: 7.617 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001733/0.1214, allocations: 1.397 MB / 410.5 MB, free: 6.156 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001707/0.1231, allocations: 1.219 MB / 411.7 MB, free: 4.934 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002195/0.1253, allocations: 1.53 MB / 413.3 MB, free: 3.398 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004192/0.1257, allocations: 308 kB / 413.6 MB, free: 3.098 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000705/0.1264, allocations: 399.8 kB / 414 MB, free: 2.707 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008573/0.1272, allocations: 0.896 MB / 414.9 MB, free: 1.809 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0016/0.1288, allocations: 1.404 MB / 416.3 MB, free: 408 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004309/0.1331, allocations: 4.106 MB / 420.4 MB, free: 12.28 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.1332, allocations: 4 kB / 420.4 MB, free: 12.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1332, allocations: 0 / 420.4 MB, free: 12.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.421e-05/0.1332, allocations: 0 / 420.4 MB, free: 12.27 MB / 350.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.006464/0.1397, allocations: 2.913 MB / 423.3 MB, free: 9.293 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.1397, allocations: 11.97 kB / 423.3 MB, free: 9.281 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.235e-05/0.1398, allocations: 56.22 kB / 423.4 MB, free: 9.223 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004287/0.1402, allocations: 291.5 kB / 423.6 MB, free: 8.926 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007603/0.141, allocations: 303.2 kB / 423.9 MB, free: 8.629 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002521/0.1435, allocations: 1.458 MB / 425.4 MB, free: 7.113 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001447/0.1437, allocations: 152.2 kB / 425.5 MB, free: 6.961 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000402/0.1441, allocations: 204 kB / 425.7 MB, free: 6.762 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004565/0.1486, allocations: 2.732 MB / 428.5 MB, free: 3.941 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.751e-05/0.1487, allocations: 4 kB / 428.5 MB, free: 3.938 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001975/0.1489, allocations: 87.98 kB / 428.6 MB, free: 3.852 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001053/0.149, allocations: 99.92 kB / 428.7 MB, free: 3.754 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004071/0.1531, allocations: 2.322 MB / 431 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01347/0.1665, allocations: 8.339 MB / 439.3 MB, free: 8.852 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002255/0.1688, allocations: 1.698 MB / 441 MB, free: 7.039 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001998/0.1708, allocations: 1.015 MB / 442 MB, free: 6.023 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002644/0.171, allocations: 126.1 kB / 442.2 MB, free: 5.883 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.037e-05/0.1711, allocations: 43.56 kB / 442.2 MB, free: 5.832 MB / 366.1 MB Notification: Performance of pre-optimization done (n=104): time 2.996e-06/0.1711, allocations: 0 / 442.2 MB, free: 5.832 MB / 366.1 MB Notification: Performance of matching and sorting (n=120): time 0.01448/0.1856, allocations: 6.328 MB / 448.5 MB, free: 15.37 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.653e-05/0.1856, allocations: 68.41 kB / 448.6 MB, free: 15.29 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002342/0.188, allocations: 1.52 MB / 450.1 MB, free: 13.76 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001148/0.1881, allocations: 45.7 kB / 450.2 MB, free: 13.71 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000801/0.1889, allocations: 1.009 MB / 451.2 MB, free: 12.69 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004076/0.1893, allocations: 436.3 kB / 451.6 MB, free: 12.26 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004243/0.1897, allocations: 251.5 kB / 451.8 MB, free: 12.01 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001845/0.1899, allocations: 357.9 kB / 452.2 MB, free: 11.65 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001222/0.1911, allocations: 0.7417 MB / 452.9 MB, free: 10.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001482/0.1926, allocations: 1.052 MB / 454 MB, free: 9.73 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002747/0.1954, allocations: 1.879 MB / 455.9 MB, free: 7.723 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.446e-06/0.1954, allocations: 4 kB / 455.9 MB, free: 7.719 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004214/0.1996, allocations: 2.346 MB / 458.2 MB, free: 5.352 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.892e-05/0.1996, allocations: 8 kB / 458.2 MB, free: 5.344 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.211e-05/0.1996, allocations: 8 kB / 458.2 MB, free: 5.336 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00102/0.2007, allocations: 411.4 kB / 458.6 MB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001222/0.2019, allocations: 323.5 kB / 459 MB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1823/0.3842, allocations: 5.068 MB / 464 MB, free: 61.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00146/0.3857, allocations: 90.48 kB / 464.1 MB, free: 61.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001522/0.3858, allocations: 53.67 kB / 464.2 MB, free: 61.42 MB / 382.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.001315/0.3871, allocations: 0.7106 MB / 464.9 MB, free: 61.31 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004083/0.3875, allocations: 172.5 kB / 465 MB, free: 61.31 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003915/0.3914, allocations: 2.128 MB / 467.2 MB, free: 61.21 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/0.3915, allocations: 14.94 kB / 467.2 MB, free: 61.21 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.111e-05/0.3915, allocations: 3.5 kB / 467.2 MB, free: 61.21 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.734e-05/0.3915, allocations: 10.75 kB / 467.2 MB, free: 61.21 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007419/0.3989, allocations: 4.552 MB / 471.7 MB, free: 59.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.313e-06/0.3989, allocations: 2.219 kB / 471.7 MB, free: 59.51 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009453/0.3999, allocations: 215.5 kB / 472 MB, free: 59.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001182/0.4011, allocations: 473.2 kB / 472.4 MB, free: 59.37 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.385e-05/0.4011, allocations: 37.19 kB / 472.5 MB, free: 59.35 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004951/0.4061, allocations: 6.681 MB / 479.1 MB, free: 54.14 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/0.4061, allocations: 6.562 kB / 479.1 MB, free: 54.14 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004159/0.4103, allocations: 3.183 MB / 482.3 MB, free: 52.88 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006999/0.411, allocations: 409.7 kB / 482.7 MB, free: 52.71 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000193/0.4111, allocations: 28.62 kB / 482.8 MB, free: 52.69 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007982/0.4119, allocations: 78.19 kB / 482.8 MB, free: 52.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002604/0.4122, allocations: 108.5 kB / 482.9 MB, free: 52.65 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.462e-05/0.4123, allocations: 36.66 kB / 483 MB, free: 52.64 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001311/0.4136, allocations: 1.039 MB / 484 MB, free: 52.25 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4136, allocations: 3.938 kB / 484 MB, free: 52.24 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001273/0.4149, allocations: 470.5 kB / 484.5 MB, free: 52.2 MB / 382.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.004101/0.419, allocations: 3.816 MB / 488.3 MB, free: 50.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002844/0.4218, allocations: 2.202 MB / 490.5 MB, free: 48.68 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.401e-06/0.4218, allocations: 0 / 490.5 MB, free: 48.68 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001754/0.4236, allocations: 1.437 MB / 491.9 MB, free: 47.19 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001921/0.4255, allocations: 446.4 kB / 492.4 MB, free: 46.79 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02012/0.4456, allocations: 17.43 MB / 0.4979 GB, free: 28.83 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001076/0.4467, allocations: 1.831 MB / 0.4996 GB, free: 26.96 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009305/0.4476, allocations: 393.5 kB / 0.5 GB, free: 26.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007722/0.4484, allocations: 0.7922 MB / 0.5008 GB, free: 25.78 MB / 382.1 MB Notification: Performance of SimCode: time 1.202e-06/0.4484, allocations: 0 / 0.5008 GB, free: 25.78 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0762/0.5246, allocations: 43.62 MB / 0.5434 GB, free: 14.03 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.97/20.5, allocations: 19.92 kB / 0.5434 GB, free: 14.01 MB / 414.1 MB " [Timeout remaining time 639] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_DOL_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_DOL.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 22.904766926018056] 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.65457187104039 20.667715355 20.531763932 Calling exit ...