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.0008062/0.0008062, allocations: 80.48 kB / 19.93 MB, free: 4.629 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.8582/0.8582, allocations: 177.2 MB / 200.2 MB, free: 5.934 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.001027/0.001027, allocations: 152.6 kB / 256.7 MB, free: 13.34 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.0219/0.0219, allocations: 6.66 MB / 319.8 MB, free: 26.76 MB / 266.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.262e-06/1.262e-06, allocations: 0 / 446.7 MB, free: 37.13 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.124e-05/2.25e-05, allocations: 2.281 kB / 446.7 MB, free: 37.12 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Steinmetz): time 0.007413/0.007435, allocations: 12.48 MB / 459.1 MB, free: 24.58 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.005291/0.01273, allocations: 4.501 MB / 463.6 MB, free: 20.07 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001142/0.01387, allocations: 99.44 kB / 463.7 MB, free: 19.97 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00154/0.01541, allocations: 0.9975 MB / 464.7 MB, free: 18.96 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00196/0.01737, allocations: 1.347 MB / 466.1 MB, free: 17.61 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001058/0.01843, allocations: 0.9486 MB / 467 MB, free: 16.66 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002063/0.02049, allocations: 4.452 MB / 471.5 MB, free: 12.2 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00122/0.02171, allocations: 1.722 MB / 473.2 MB, free: 10.41 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001721/0.02343, allocations: 2.885 MB / 476.1 MB, free: 7.516 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001089/0.02452, allocations: 1.757 MB / 477.8 MB, free: 5.754 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002896/0.02481, allocations: 0.5117 MB / 478.4 MB, free: 5.242 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006729/0.02548, allocations: 0.7222 MB / 479.1 MB, free: 4.52 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00037/0.02585, allocations: 1.126 MB / 480.2 MB, free: 3.391 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006935/0.02654, allocations: 1.458 MB / 481.7 MB, free: 1.93 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003793/0.03034, allocations: 6.817 MB / 488.5 MB, free: 11.09 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.03034, allocations: 0 / 488.5 MB, free: 11.09 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.03034, allocations: 0 / 488.5 MB, free: 11.09 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.797e-05/0.03038, allocations: 0 / 488.5 MB, free: 11.09 MB / 346.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.006063/0.03644, allocations: 5.384 MB / 493.9 MB, free: 5.633 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.03648, allocations: 16.03 kB / 493.9 MB, free: 5.617 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002096/0.03858, allocations: 0.83 MB / 494.7 MB, free: 4.785 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002558/0.04113, allocations: 2.404 MB / 497.1 MB, free: 2.328 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001183/0.04125, allocations: 246.9 kB / 497.4 MB, free: 2.086 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003281/0.04158, allocations: 328.3 kB / 497.7 MB, free: 1.766 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00446/0.04604, allocations: 4.481 MB / 0.4904 GB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.884e-05/0.0461, allocations: 7.953 kB / 0.4904 GB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000217/0.04632, allocations: 136 kB / 0.4905 GB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.801e-05/0.0464, allocations: 146.5 kB / 0.4907 GB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003804/0.05021, allocations: 3.59 MB / 0.4942 GB, free: 9.312 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01178/0.06199, allocations: 11.83 MB / 0.5057 GB, free: 13.14 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003366/0.06535, allocations: 2.667 MB / 0.5083 GB, free: 10.59 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001359/0.06671, allocations: 1.288 MB / 0.5096 GB, free: 9.301 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003576/0.07029, allocations: 3.09 MB / 0.5126 GB, free: 6.176 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009489/0.07124, allocations: 1.094 MB / 0.5137 GB, free: 5.012 MB / 378.7 MB Notification: Performance of pre-optimization done (n=143): time 2.565e-06/0.07124, allocations: 0 / 0.5137 GB, free: 5.012 MB / 378.7 MB Notification: Performance of matching and sorting (n=146): time 0.006649/0.07789, allocations: 5.343 MB / 0.5189 GB, free: 15.62 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.177e-05/0.07797, allocations: 230.9 kB / 0.5191 GB, free: 15.35 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001571/0.07954, allocations: 1.641 MB / 0.5207 GB, free: 13.7 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.547e-05/0.07961, allocations: 53.7 kB / 0.5208 GB, free: 13.64 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008103/0.08042, allocations: 1.528 MB / 0.5223 GB, free: 12.1 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002539/0.08067, allocations: 0.5152 MB / 0.5228 GB, free: 11.58 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00032/0.08099, allocations: 351.4 kB / 0.5231 GB, free: 11.23 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.844e-05/0.08106, allocations: 305.1 kB / 0.5234 GB, free: 10.93 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007109/0.08177, allocations: 0.6988 MB / 0.5241 GB, free: 10.23 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001036/0.08281, allocations: 1.538 MB / 0.5256 GB, free: 8.371 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001873/0.08468, allocations: 2.122 MB / 0.5276 GB, free: 5.992 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.08469, allocations: 7.938 kB / 0.5276 GB, free: 5.984 MB / 394.7 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.002511/0.0872, allocations: 2.57 MB / 0.5302 GB, free: 3.391 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.08722, allocations: 12 kB / 0.5302 GB, free: 3.379 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.681e-05/0.08724, allocations: 20.08 kB / 0.5302 GB, free: 3.359 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005651/0.0878, allocations: 368.3 kB / 0.5305 GB, free: 2.984 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000722/0.08852, allocations: 391.3 kB / 0.5309 GB, free: 2.602 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004653/0.09318, allocations: 7.829 MB / 0.5386 GB, free: 10.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006576/0.09384, allocations: 99.97 kB / 0.5387 GB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.453e-05/0.09392, allocations: 83.98 kB / 0.5387 GB, free: 10.19 MB / 410.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,idealCloser.control,idealOpener.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.00116/0.09508, allocations: 1.035 MB / 0.5397 GB, free: 9.145 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002911/0.09537, allocations: 190.8 kB / 0.5399 GB, free: 8.957 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002357/0.09773, allocations: 2.158 MB / 0.542 GB, free: 6.77 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.09773, allocations: 19.92 kB / 0.5421 GB, free: 6.75 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.09774, allocations: 8 kB / 0.5421 GB, free: 6.742 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.09775, allocations: 3.984 kB / 0.5421 GB, free: 6.738 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004368/0.1021, allocations: 4.26 MB / 0.5462 GB, free: 2.395 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.1021, allocations: 4.188 kB / 0.5462 GB, free: 2.391 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004122/0.1025, allocations: 183.6 kB / 0.5464 GB, free: 2.211 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000897/0.1034, allocations: 0.5203 MB / 0.5469 GB, free: 1.672 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.77e-05/0.1035, allocations: 43.97 kB / 0.547 GB, free: 1.629 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007159/0.1107, allocations: 12.39 MB / 0.559 GB, free: 4.641 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.1107, allocations: 4 kB / 0.5591 GB, free: 4.637 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003225/0.1139, allocations: 3.114 MB / 0.5621 GB, free: 1.469 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004949/0.1144, allocations: 342.7 kB / 0.5624 GB, free: 1.133 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000136/0.1145, allocations: 43.98 kB / 0.5625 GB, free: 1.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004204/0.1149, allocations: 59.95 kB / 0.5625 GB, free: 1.031 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002173/0.1152, allocations: 129 kB / 0.5626 GB, free: 0.9062 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.313e-05/0.1152, allocations: 43.98 kB / 0.5627 GB, free: 0.8633 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.1535/0.2687, allocations: 1.087 MB / 0.5637 GB, free: 115.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.2687, allocations: 0 / 0.5637 GB, free: 115.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002567/0.2712, allocations: 0.5977 MB / 0.5643 GB, free: 115.7 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 (rmsI[3].mean.x,rmsI[2].mean.x,rmsI[1].mean.x,cStart.v,cRun.v,quadraticLoadTorque.phi,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.stator.core.Phi.im,imc.stator.core.Phi.re,imc.stator.zeroInductor.i0,imc.inertiaRotor.w) * Number of discrete variables: 8 ($whenCondition3,$whenCondition2,$whenCondition1,rmsI[3].mean.y_last,rmsI[2].mean.y_last,rmsI[1].mean.y_last,idealOpener.control,idealCloser.control) * 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,8,100.0%), (1,13,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.000365/0.2716, allocations: 179.4 kB / 0.5645 GB, free: 115.6 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002716/0.2743, allocations: 2.276 MB / 0.5667 GB, free: 115.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/0.2743, allocations: 5.594 kB / 0.5667 GB, free: 115.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001619/0.276, allocations: 1.744 MB / 0.5684 GB, free: 114.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001326/0.2773, allocations: 481.2 kB / 0.5689 GB, free: 114.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006077/0.2834, allocations: 5.761 MB / 0.5745 GB, free: 111.7 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001137/0.2845, allocations: 1.741 MB / 0.5762 GB, free: 111.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002494/0.2847, allocations: 139.5 kB / 0.5763 GB, free: 111.1 MB / 426.7 MB Notification: Performance of SimCode: time 1.042e-06/0.2847, allocations: 0 / 0.5763 GB, free: 111.1 MB / 426.7 MB Notification: Performance of Templates: time 0.06641/0.3511, allocations: 132.1 MB / 0.7054 GB, free: 12.81 MB / 458.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=480 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.342033886350691] Failed to read output from testmodel.py, exit status != 0: 0.3568741362541914 0.365757955 0.333578348 Calling exit ...