Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.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.001234/0.001234, allocations: 117.5 kB / 19.17 MB, free: 3.922 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.001465/0.001465, allocations: 203.9 kB / 22.12 MB, free: 0.9805 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.417/1.417, allocations: 207.6 MB / 232.5 MB, free: 3.949 MB / 174.1 MB " [Timeout remaining time 178] 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.AIMS_Start,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMS_Start",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMS_Start",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.001886/0.001886, allocations: 47.94 kB / 343 MB, free: 10.09 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09393/0.09582, allocations: 49.13 MB / 392.1 MB, free: 8.797 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start): time 0.01455/0.1104, allocations: 11.83 MB / 404 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008152/0.1185, allocations: 3.81 MB / 407.8 MB, free: 9.098 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001869/0.1204, allocations: 75.44 kB / 407.8 MB, free: 9.023 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002193/0.1226, allocations: 0.9241 MB / 408.8 MB, free: 8.094 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003019/0.1256, allocations: 1.126 MB / 409.9 MB, free: 6.961 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001039/0.1266, allocations: 0.4915 MB / 410.4 MB, free: 6.469 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005844/0.1325, allocations: 4.269 MB / 414.7 MB, free: 2.184 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003141/0.1356, allocations: 2.335 MB / 417 MB, free: 15.78 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003226/0.1388, allocations: 1.939 MB / 418.9 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00368/0.1425, allocations: 2.386 MB / 421.3 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008574/0.1434, allocations: 0.4961 MB / 421.8 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001267/0.1447, allocations: 0.5858 MB / 422.4 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001446/0.1461, allocations: 1.41 MB / 423.8 MB, free: 8.941 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002929/0.149, allocations: 2.205 MB / 426 MB, free: 6.727 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007476/0.1565, allocations: 6.579 MB / 432.6 MB, free: 128 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1565, allocations: 0 / 432.6 MB, free: 128 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1565, allocations: 0 / 432.6 MB, free: 128 kB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001806/0.1567, allocations: 0 / 432.6 MB, free: 128 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.009934/0.1666, allocations: 4.392 MB / 437 MB, free: 11.66 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.1667, allocations: 8.031 kB / 437 MB, free: 11.65 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.325e-05/0.1667, allocations: 82.34 kB / 437.1 MB, free: 11.57 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006222/0.1674, allocations: 446.6 kB / 437.5 MB, free: 11.12 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001083/0.1685, allocations: 462.2 kB / 438 MB, free: 10.66 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003867/0.1723, allocations: 2.267 MB / 440.2 MB, free: 8.348 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001822/0.1725, allocations: 226.2 kB / 440.4 MB, free: 8.125 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004561/0.173, allocations: 308 kB / 440.7 MB, free: 7.824 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00724/0.1802, allocations: 4.369 MB / 445.1 MB, free: 3.367 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.273e-05/0.1803, allocations: 7.938 kB / 445.1 MB, free: 3.359 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000304/0.1806, allocations: 128 kB / 445.2 MB, free: 3.234 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001291/0.1807, allocations: 134 kB / 445.4 MB, free: 3.102 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006831/0.1875, allocations: 3.771 MB / 449.2 MB, free: 15.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02413/0.2117, allocations: 13.43 MB / 462.6 MB, free: 1.531 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1931/0.4048, allocations: 2.755 MB / 465.3 MB, free: 60.36 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005283/0.4101, allocations: 1.576 MB / 466.9 MB, free: 60.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003487/0.4104, allocations: 133.4 kB / 467 MB, free: 60.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.812e-05/0.4105, allocations: 51.94 kB / 467.1 MB, free: 60.21 MB / 382.1 MB Notification: Performance of pre-optimization done (n=164): time 3.336e-06/0.4105, allocations: 0 / 467.1 MB, free: 60.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=180): time 0.01873/0.4292, allocations: 9.246 MB / 476.3 MB, free: 56.8 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.549e-05/0.4292, allocations: 73.36 kB / 476.4 MB, free: 56.73 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003289/0.4325, allocations: 2.363 MB / 478.8 MB, free: 55.85 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001825/0.4327, allocations: 61.58 kB / 478.8 MB, free: 55.79 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007564/0.4335, allocations: 1.499 MB / 480.3 MB, free: 54.81 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003974/0.4339, allocations: 0.6312 MB / 481 MB, free: 54.39 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005344/0.4344, allocations: 368.5 kB / 481.3 MB, free: 54.22 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.456e-05/0.4344, allocations: 302.6 kB / 481.6 MB, free: 53.92 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001485/0.4359, allocations: 1.125 MB / 482.7 MB, free: 53.53 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00155/0.4375, allocations: 1.573 MB / 484.3 MB, free: 52.63 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002998/0.4405, allocations: 2.781 MB / 487.1 MB, free: 51.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.094e-05/0.4405, allocations: 6.656 kB / 487.1 MB, free: 51.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.004815/0.4453, allocations: 3.596 MB / 490.7 MB, free: 49.02 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/0.4453, allocations: 8 kB / 490.7 MB, free: 49.01 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.862e-05/0.4453, allocations: 14.19 kB / 490.7 MB, free: 49 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001635/0.447, allocations: 0.8063 MB / 491.5 MB, free: 48.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001497/0.4485, allocations: 455.3 kB / 492 MB, free: 47.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007276/0.4558, allocations: 11.17 MB / 0.4914 GB, free: 35.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002045/0.4578, allocations: 132.9 kB / 0.4915 GB, free: 35.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001773/0.458, allocations: 72 kB / 0.4916 GB, free: 35.68 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 6 (switchedRheostat.booleanStep[3].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[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 (220): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 5 * 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): 5 systems {(2,14,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001544/0.4595, allocations: 1.092 MB / 0.4926 GB, free: 34.58 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004762/0.46, allocations: 266.3 kB / 0.4929 GB, free: 34.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004443/0.4644, allocations: 3.283 MB / 0.4961 GB, free: 31 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/0.4645, allocations: 16 kB / 0.4961 GB, free: 30.98 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.169e-05/0.4645, allocations: 11.94 kB / 0.4961 GB, free: 30.97 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.436e-05/0.4645, allocations: 11.58 kB / 0.4961 GB, free: 30.96 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0096/0.4741, allocations: 6.838 MB / 0.5028 GB, free: 24.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/0.4741, allocations: 0 / 0.5028 GB, free: 24.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001128/0.4752, allocations: 295.6 kB / 0.5031 GB, free: 23.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002041/0.4773, allocations: 0.927 MB / 0.504 GB, free: 22.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000137/0.4774, allocations: 43.97 kB / 0.504 GB, free: 22.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009193/0.4866, allocations: 14.6 MB / 0.5183 GB, free: 7.215 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.4866, allocations: 0 / 0.5183 GB, free: 7.215 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006106/0.4927, allocations: 4.869 MB / 0.523 GB, free: 2.285 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001331/0.494, allocations: 0.5774 MB / 0.5236 GB, free: 1.688 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002856/0.4943, allocations: 39.98 kB / 0.5236 GB, free: 1.648 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0012/0.4955, allocations: 115.9 kB / 0.5237 GB, free: 1.535 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003823/0.4959, allocations: 160.2 kB / 0.5239 GB, free: 1.379 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-05/0.496, allocations: 47.98 kB / 0.5239 GB, free: 1.332 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002/0.498, allocations: 1.633 MB / 0.5255 GB, free: 15.68 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.498, allocations: 4 kB / 0.5255 GB, free: 15.68 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002457/0.5004, allocations: 0.7061 MB / 0.5262 GB, free: 14.98 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (aims.inertiaRotor.w,aims.i_0_s,aims.idq_sr[1],aims.idq_sr[2],aims.idq_rr[1],aims.idq_rr[2],aims.i_0_r,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 7 * 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): 7 systems {(2,14,100.0%), (1,1,100.0%), (2,1,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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.008909/0.5094, allocations: 5.516 MB / 0.5316 GB, free: 9.387 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005797/0.5151, allocations: 3.495 MB / 0.535 GB, free: 5.797 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.231e-06/0.5152, allocations: 0 / 0.535 GB, free: 5.797 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003809/0.519, allocations: 2.429 MB / 0.5374 GB, free: 3.262 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00354/0.5225, allocations: 0.7168 MB / 0.5381 GB, free: 2.543 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04464/0.5671, allocations: 26.33 MB / 0.5638 GB, free: 7.551 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002621/0.5698, allocations: 2.521 MB / 0.5663 GB, free: 5 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001772/0.5715, allocations: 0.5866 MB / 0.5669 GB, free: 4.406 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00177/0.5733, allocations: 1.261 MB / 0.5681 GB, free: 3.145 MB / 430.1 MB Notification: Performance of SimCode: time 7.72e-07/0.5733, allocations: 0 / 0.5681 GB, free: 3.145 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1394/0.7127, allocations: 67.25 MB / 0.6338 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.39/15.1, allocations: 7.953 kB / 0.6338 GB, free: 15.76 MB / 0.4981 GB " [Timeout remaining time 645] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMS_Start_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMS_Start.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.570942134945653] Failed to read output from testmodel.py, exit status != 0: ['time', '// aims.i_0_r', 'aimc.ir[1]', 'aimc.ir[2]', 'aims.idq_rr[1]', 'aims.idq_rr[2]', 'aimc.is[1]', 'aimc.is[2]', 'aims.idq_sr[1]', 'aims.idq_sr[2]', 'loadInertia.phi', 'loadInertia.w'] 15.27598781103734 15.288322253 15.129004296 Calling exit ...