Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.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.001338/0.001338, allocations: 112.8 kB / 19.17 MB, free: 3.891 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.001352/0.001352, allocations: 202.3 kB / 22.11 MB, free: 0.9531 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.429/1.429, allocations: 207.6 MB / 232.5 MB, free: 3.941 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.AIMC_Steinmetz,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Steinmetz",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Steinmetz",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.001706/0.001706, allocations: 51.92 kB / 343 MB, free: 9.977 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09362/0.09532, allocations: 49.12 MB / 392.1 MB, free: 8.691 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz): time 0.0122/0.1075, allocations: 9.704 MB / 401.8 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006082/0.1136, allocations: 3.074 MB / 404.9 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001277/0.1149, allocations: 51.62 kB / 405 MB, free: 11.81 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001701/0.1166, allocations: 0.6755 MB / 405.6 MB, free: 11.13 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002188/0.1188, allocations: 0.7726 MB / 406.4 MB, free: 10.35 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007899/0.1196, allocations: 379.4 kB / 406.8 MB, free: 9.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002661/0.1222, allocations: 2.46 MB / 409.2 MB, free: 7.512 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001568/0.1238, allocations: 1.255 MB / 410.5 MB, free: 6.207 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001446/0.1252, allocations: 1.106 MB / 411.6 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001628/0.1269, allocations: 1.343 MB / 412.9 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003653/0.1272, allocations: 280 kB / 413.2 MB, free: 3.477 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005968/0.1278, allocations: 375.8 kB / 413.6 MB, free: 3.109 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007417/0.1286, allocations: 0.7907 MB / 414.4 MB, free: 2.316 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001207/0.1298, allocations: 1.268 MB / 415.6 MB, free: 1.043 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003663/0.1334, allocations: 3.647 MB / 419.3 MB, free: 13.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.1334, allocations: 8 kB / 419.3 MB, free: 13.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1334, allocations: 0 / 419.3 MB, free: 13.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.657e-05/0.1335, allocations: 4 kB / 419.3 MB, free: 13.37 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: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.005266/0.1388, allocations: 2.632 MB / 421.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.1388, allocations: 8.031 kB / 421.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.537e-05/0.1389, allocations: 51.97 kB / 422 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003533/0.1392, allocations: 278.6 kB / 422.3 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007305/0.14, allocations: 275.3 kB / 422.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002186/0.1422, allocations: 1.276 MB / 423.8 MB, free: 8.738 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001375/0.1423, allocations: 147.9 kB / 424 MB, free: 8.594 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002976/0.1426, allocations: 199.9 kB / 424.1 MB, free: 8.398 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004115/0.1467, allocations: 2.415 MB / 426.6 MB, free: 5.945 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.245e-05/0.1468, allocations: 11.94 kB / 426.6 MB, free: 5.934 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001759/0.1469, allocations: 72 kB / 426.6 MB, free: 5.863 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001032/0.147, allocations: 87.69 kB / 426.7 MB, free: 5.777 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003362/0.1504, allocations: 1.966 MB / 428.7 MB, free: 3.809 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01402/0.1644, allocations: 7.783 MB / 436.5 MB, free: 11.79 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001838/0.1663, allocations: 1.161 MB / 437.6 MB, free: 10.58 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001835/0.1681, allocations: 0.9165 MB / 438.6 MB, free: 9.66 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002526/0.1683, allocations: 122.1 kB / 438.7 MB, free: 9.523 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/0.1684, allocations: 43.56 kB / 438.7 MB, free: 9.473 MB / 366.1 MB Notification: Performance of pre-optimization done (n=95): time 3.206e-06/0.1684, allocations: 0 / 438.7 MB, free: 9.473 MB / 366.1 MB Notification: Performance of matching and sorting (n=111): time 0.01297/0.1814, allocations: 5.889 MB / 444.6 MB, free: 3.445 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.499e-05/0.1814, allocations: 68.28 kB / 444.7 MB, free: 3.367 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001905/0.1833, allocations: 1.302 MB / 446 MB, free: 2.059 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.363e-05/0.1834, allocations: 45.7 kB / 446 MB, free: 2.008 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007188/0.1841, allocations: 0.938 MB / 447 MB, free: 1.059 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003434/0.1845, allocations: 416.5 kB / 447.4 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003947/0.1849, allocations: 247.5 kB / 447.6 MB, free: 412 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.185, allocations: 357.9 kB / 448 MB, free: 48 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001037/0.1861, allocations: 0.6364 MB / 448.6 MB, free: 15.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00131/0.1874, allocations: 1 MB / 449.6 MB, free: 14.26 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002402/0.1898, allocations: 1.739 MB / 451.3 MB, free: 12.37 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.1898, allocations: 4 kB / 451.3 MB, free: 12.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003855/0.1936, allocations: 2.253 MB / 453.6 MB, free: 10.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.1937, allocations: 11.91 kB / 453.6 MB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-05/0.1937, allocations: 12 kB / 453.6 MB, free: 10.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00127/0.1949, allocations: 488.2 kB / 454.1 MB, free: 9.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001082/0.196, allocations: 307.5 kB / 454.4 MB, free: 9.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007565/0.2036, allocations: 7.136 MB / 461.5 MB, free: 1.715 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001121/0.2047, allocations: 83.88 kB / 461.6 MB, free: 1.633 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001035/0.2048, allocations: 56 kB / 461.7 MB, free: 1.578 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 142 * 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%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009976/0.2058, allocations: 0.6067 MB / 462.3 MB, free: 0.9609 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002792/0.2061, allocations: 151.1 kB / 462.4 MB, free: 0.8125 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1809/0.387, allocations: 1.954 MB / 464.4 MB, free: 62.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.233e-05/0.387, allocations: 10.84 kB / 464.4 MB, free: 62.98 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.624e-05/0.387, allocations: 4.75 kB / 464.4 MB, free: 62.98 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.704e-05/0.3871, allocations: 6.062 kB / 464.4 MB, free: 62.98 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007251/0.3943, allocations: 4.102 MB / 468.5 MB, free: 62.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/0.3943, allocations: 4.594 kB / 468.5 MB, free: 62.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008331/0.3951, allocations: 186 kB / 468.7 MB, free: 62.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001498/0.3966, allocations: 0.5387 MB / 469.2 MB, free: 61.86 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-05/0.3967, allocations: 29.62 kB / 469.2 MB, free: 61.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006928/0.4037, allocations: 8.753 MB / 478 MB, free: 54.88 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.4037, allocations: 5.469 kB / 478 MB, free: 54.88 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004039/0.4077, allocations: 2.847 MB / 480.9 MB, free: 53.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006313/0.4083, allocations: 367.1 kB / 481.2 MB, free: 53.53 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001687/0.4085, allocations: 29.86 kB / 481.2 MB, free: 53.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007159/0.4092, allocations: 69.5 kB / 481.3 MB, free: 53.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002251/0.4094, allocations: 90.66 kB / 481.4 MB, free: 53.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.113e-05/0.4095, allocations: 37.52 kB / 481.4 MB, free: 53.48 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001052/0.4106, allocations: 0.8879 MB / 482.3 MB, free: 53.12 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4106, allocations: 3.969 kB / 482.3 MB, free: 53.12 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001319/0.4119, allocations: 436.2 kB / 482.8 MB, free: 53.08 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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],quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * 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 {(2,12,100.0%), (1,1,100.0%), (2,8,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.003991/0.4159, allocations: 3.472 MB / 486.2 MB, free: 51.36 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002757/0.4186, allocations: 2.157 MB / 488.4 MB, free: 50.21 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.4186, allocations: 1 kB / 488.4 MB, free: 50.21 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001715/0.4203, allocations: 1.463 MB / 489.8 MB, free: 49.19 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001783/0.4221, allocations: 414.8 kB / 490.3 MB, free: 49.01 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01721/0.4393, allocations: 15.68 MB / 0.4941 GB, free: 33.37 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008746/0.4402, allocations: 1.65 MB / 0.4957 GB, free: 31.68 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007817/0.441, allocations: 320.8 kB / 0.496 GB, free: 31.36 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006741/0.4417, allocations: 0.718 MB / 0.4967 GB, free: 30.64 MB / 382.1 MB Notification: Performance of SimCode: time 8.01e-07/0.4417, allocations: 0 / 0.4967 GB, free: 30.64 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08555/0.5272, allocations: 39.88 MB / 0.5356 GB, free: 6.652 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.34/19.86, allocations: 15.86 kB / 0.5356 GB, free: 6.637 MB / 398.1 MB " [Timeout remaining time 640] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Steinmetz_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Steinmetz.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 22.320345501007978] 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]', 'cRun.v', 'cStart.v', 'loadInertia.phi', 'loadInertia.w'] 20.02710147097241 20.049945744 19.912217159 Calling exit ...