Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMC_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.0009636/0.0009636, allocations: 80.88 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9349/0.9349, allocations: 177.2 MB / 200.3 MB, free: 5.281 MB / 186.7 MB " [Timeout remaining time 179] 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.001199/0.001199, allocations: 152.9 kB / 257 MB, free: 12.8 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.02339/0.02339, allocations: 6.657 MB / 266.9 MB, free: 3.043 MB / 250.7 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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: translateModel(HanserModelica.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_Steinmetz") translateModel(HanserModelica.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_Steinmetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 285.7 MB, free: 272 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.188e-05/1.319e-05, allocations: 2.312 kB / 285.7 MB, free: 268 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Steinmetz): time 0.1151/0.1152, allocations: 13.69 MB / 299.4 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007597/0.1228, allocations: 4.819 MB / 304.2 MB, free: 10.27 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001333/0.1241, allocations: 101.2 kB / 304.3 MB, free: 10.23 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002005/0.1261, allocations: 1.034 MB / 305.3 MB, free: 9.484 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002788/0.1289, allocations: 1.353 MB / 306.7 MB, free: 8.359 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001315/0.1302, allocations: 0.9542 MB / 307.6 MB, free: 7.594 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003383/0.1336, allocations: 4.444 MB / 312.1 MB, free: 3.969 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001617/0.1352, allocations: 1.769 MB / 313.9 MB, free: 2.105 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003026/0.1382, allocations: 2.924 MB / 316.8 MB, free: 15.18 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002207/0.1404, allocations: 1.937 MB / 318.7 MB, free: 13.23 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005705/0.141, allocations: 0.5078 MB / 319.2 MB, free: 12.73 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001004/0.142, allocations: 0.73 MB / 320 MB, free: 12 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008421/0.1428, allocations: 1.137 MB / 321.1 MB, free: 10.86 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001055/0.1439, allocations: 1.477 MB / 322.6 MB, free: 9.375 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002926/0.1468, allocations: 3.516 MB / 326.1 MB, free: 5.848 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.1468, allocations: 0 / 326.1 MB, free: 5.848 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1468, allocations: 0 / 326.1 MB, free: 5.848 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.626e-05/0.1469, allocations: 4 kB / 326.1 MB, free: 5.844 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 852 * Number of variables: 852 Notification: Performance of Generate backend data structure: time 0.005087/0.152, allocations: 4.328 MB / 330.4 MB, free: 1.457 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.152, allocations: 12.03 kB / 330.4 MB, free: 1.445 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002662/0.1546, allocations: 1.117 MB / 331.5 MB, free: 336 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001808/0.1565, allocations: 1.483 MB / 333 MB, free: 14.79 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001164/0.1566, allocations: 250.9 kB / 333.3 MB, free: 14.54 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002955/0.1569, allocations: 336.3 kB / 333.6 MB, free: 14.21 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002629/0.1595, allocations: 2.472 MB / 336.1 MB, free: 11.65 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.202e-05/0.1595, allocations: 11.94 kB / 336.1 MB, free: 11.64 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001859/0.1597, allocations: 131.9 kB / 336.2 MB, free: 11.51 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.154e-05/0.1598, allocations: 146.5 kB / 336.4 MB, free: 11.37 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001349/0.1612, allocations: 0.9593 MB / 337.3 MB, free: 10.39 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008611/0.1698, allocations: 8.721 MB / 346 MB, free: 1.352 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001994/0.1718, allocations: 1.709 MB / 347.7 MB, free: 15.64 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007143/0.1725, allocations: 0.6208 MB / 348.4 MB, free: 15.02 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002631/0.1751, allocations: 1.875 MB / 350.2 MB, free: 13.12 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005721/0.1757, allocations: 0.6979 MB / 350.9 MB, free: 12.35 MB / 314.7 MB Notification: Performance of pre-optimization done (n=143): time 2.134e-06/0.1757, allocations: 0 / 350.9 MB, free: 12.35 MB / 314.7 MB Notification: Performance of matching and sorting (n=146): time 0.004058/0.1798, allocations: 2.759 MB / 353.7 MB, free: 9.551 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.039e-05/0.1798, allocations: 226.9 kB / 353.9 MB, free: 9.277 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008441/0.1807, allocations: 1.204 MB / 355.1 MB, free: 8.066 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.047e-05/0.1807, allocations: 49.7 kB / 355.2 MB, free: 8.012 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007997/0.1815, allocations: 1.292 MB / 356.5 MB, free: 6.703 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000231/0.1818, allocations: 0.519 MB / 357 MB, free: 6.18 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002884/0.1821, allocations: 339.2 kB / 357.3 MB, free: 5.844 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.26e-05/0.1821, allocations: 301.1 kB / 357.6 MB, free: 5.547 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002635/0.1824, allocations: 206.7 kB / 357.8 MB, free: 5.344 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005365/0.1829, allocations: 0.9911 MB / 358.8 MB, free: 4.031 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008511/0.1838, allocations: 1.182 MB / 360 MB, free: 2.59 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.992e-06/0.1838, allocations: 4 kB / 360 MB, free: 2.586 MB / 314.7 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.001314/0.1851, allocations: 1.267 MB / 361.3 MB, free: 1.293 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.1851, allocations: 12 kB / 361.3 MB, free: 1.281 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-05/0.1851, allocations: 20 kB / 361.3 MB, free: 1.262 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005065/0.1856, allocations: 282.9 kB / 361.6 MB, free: 0.9688 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008029/0.1864, allocations: 439.2 kB / 362 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00352/0.19, allocations: 6.449 MB / 368.4 MB, free: 9.727 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005194/0.1905, allocations: 87.97 kB / 368.5 MB, free: 9.641 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.415e-05/0.1906, allocations: 67.98 kB / 368.6 MB, free: 9.574 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 84 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition3,$whenCondition2,$whenCondition1,rmsI[3].mean.y_last,$PRE.rmsI[3].mean.y_last,rmsI[2].mean.y_last,$PRE.rmsI[2].mean.y_last,rmsI[1].mean.y_last,$PRE.rmsI[1].mean.y_last,idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (210): * Single equations (assignments): 205 * 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 {(1,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003948/0.191, allocations: 236 kB / 368.8 MB, free: 9.332 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001527/0.1911, allocations: 163.8 kB / 369 MB, free: 9.172 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001489/0.1926, allocations: 1.062 MB / 370 MB, free: 8.07 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.1926, allocations: 12 kB / 370.1 MB, free: 8.059 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.1926, allocations: 8 kB / 370.1 MB, free: 8.051 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.327e-06/0.1926, allocations: 7.969 kB / 370.1 MB, free: 8.043 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002497/0.1951, allocations: 2.237 MB / 372.3 MB, free: 5.738 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.1951, allocations: 4.031 kB / 372.3 MB, free: 5.734 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004338/0.1956, allocations: 179.8 kB / 372.5 MB, free: 5.559 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007244/0.1963, allocations: 428.3 kB / 372.9 MB, free: 5.121 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.21e-05/0.1963, allocations: 39.97 kB / 372.9 MB, free: 5.082 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005303/0.2016, allocations: 9.963 MB / 382.9 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2016, allocations: 0 / 382.9 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00179/0.2034, allocations: 1.445 MB / 384.4 MB, free: 9.07 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003103/0.2037, allocations: 202.7 kB / 384.6 MB, free: 8.871 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001268/0.2039, allocations: 43.92 kB / 384.6 MB, free: 8.828 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003446/0.2042, allocations: 47.98 kB / 384.6 MB, free: 8.781 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001783/0.2044, allocations: 117 kB / 384.8 MB, free: 8.664 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.722e-05/0.2044, allocations: 31.98 kB / 384.8 MB, free: 8.633 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004391/0.2049, allocations: 0.5802 MB / 385.4 MB, free: 8.055 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2049, allocations: 4 kB / 385.4 MB, free: 8.051 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001382/0.2063, allocations: 0.6015 MB / 386 MB, free: 7.449 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 (imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,cRun.v,cStart.v,rmsI[1].mean.x,rmsI[2].mean.x,rmsI[3].mean.x) * Number of discrete variables: 8 ($whenCondition3,$whenCondition2,$whenCondition1,idealCloser.control,idealOpener.control,rmsI[1].mean.y_last,rmsI[2].mean.y_last,rmsI[3].mean.y_last) * Number of discrete states: 3 (rmsI[1].mean.x,rmsI[2].mean.x,rmsI[3].mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,13,100.0%), (1,8,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002368/0.2065, allocations: 170.6 kB / 386.1 MB, free: 7.277 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001306/0.2078, allocations: 1.412 MB / 387.6 MB, free: 5.816 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.697e-05/0.2078, allocations: 21.81 kB / 387.6 MB, free: 5.797 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001002/0.2088, allocations: 1.336 MB / 388.9 MB, free: 4.383 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.2099, allocations: 483.7 kB / 389.4 MB, free: 3.922 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005736/0.2156, allocations: 4.936 MB / 394.3 MB, free: 14.9 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005298/0.2161, allocations: 0.6512 MB / 395 MB, free: 14.23 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005363/0.2167, allocations: 244.3 kB / 395.2 MB, free: 13.98 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006954/0.2174, allocations: 483 kB / 395.7 MB, free: 13.5 MB / 362.7 MB Notification: Performance of SimCode: time 9.81e-07/0.2174, allocations: 0 / 395.7 MB, free: 13.5 MB / 362.7 MB Notification: Performance of Templates: time 0.1421/0.3595, allocations: 31.93 MB / 427.6 MB, free: 101.5 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMC_Steinmetz.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.InductionMachines.IMC_Steinmetz.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMC_Steinmetz.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMC_Steinmetz.sim & ./HanserModelica_HanserModelica.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3594802720472217]