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.001334/0.001334, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00192/0.003254, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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 1.068/1.068, allocations: 177.2 MB / 188.4 MB, free: 4.414 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2208/1.289, allocations: 53.65 MB / 242 MB, free: 2.621 MB / 234.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.0008596/0.0008596, allocations: 156.5 kB / 242.9 MB, free: 1.742 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001149/0.002009, allocations: 483.1 kB / 243.4 MB, free: 1.289 MB / 234.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.02399/0.02399, allocations: 6.654 MB / 250.8 MB, free: 10.09 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005708/0.0297, allocations: 2.668 MB / 253.5 MB, free: 7.414 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 2.244e-06/2.244e-06, allocations: 0 / 254.8 MB, free: 6.105 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.351e-05/2.576e-05, allocations: 2.312 kB / 254.8 MB, free: 6.102 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Steinmetz): time 0.01716/0.01719, allocations: 13.79 MB / 268.6 MB, free: 8.246 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01023/0.02742, allocations: 4.854 MB / 273.4 MB, free: 3.375 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002078/0.0295, allocations: 99.44 kB / 273.5 MB, free: 3.277 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002174/0.03167, allocations: 1.036 MB / 274.5 MB, free: 2.234 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003188/0.03486, allocations: 1.35 MB / 275.9 MB, free: 0.875 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001707/0.03657, allocations: 0.9427 MB / 276.8 MB, free: 15.93 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.004265/0.04083, allocations: 4.46 MB / 281.3 MB, free: 11.46 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001903/0.04274, allocations: 1.769 MB / 283.1 MB, free: 9.594 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003696/0.04643, allocations: 3.17 MB / 286.2 MB, free: 6.402 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002078/0.04851, allocations: 1.945 MB / 288.2 MB, free: 4.453 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006135/0.04912, allocations: 0.5039 MB / 288.7 MB, free: 3.949 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001121/0.05024, allocations: 0.7222 MB / 289.4 MB, free: 3.227 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006188/0.05086, allocations: 0.9079 MB / 290.3 MB, free: 2.316 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001225/0.05209, allocations: 1.228 MB / 291.5 MB, free: 1.086 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003051/0.05514, allocations: 3.322 MB / 294.9 MB, free: 13.75 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.569e-05/0.05515, allocations: 0 / 294.9 MB, free: 13.75 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.474e-06/0.05516, allocations: 0 / 294.9 MB, free: 13.75 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.914e-05/0.05523, allocations: 0 / 294.9 MB, free: 13.75 MB / 298.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.006403/0.06163, allocations: 5.153 MB / 300 MB, free: 8.523 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.06167, allocations: 8.031 kB / 300 MB, free: 8.516 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002779/0.06445, allocations: 1.113 MB / 301.1 MB, free: 7.402 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002382/0.06683, allocations: 1.487 MB / 302.6 MB, free: 5.859 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001436/0.06698, allocations: 246.9 kB / 302.9 MB, free: 5.617 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003488/0.06732, allocations: 336.3 kB / 303.2 MB, free: 5.289 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003232/0.07056, allocations: 2.467 MB / 305.7 MB, free: 2.73 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.287e-05/0.07064, allocations: 15.92 kB / 305.7 MB, free: 2.715 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002919/0.07093, allocations: 132 kB / 305.8 MB, free: 2.586 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001604/0.07109, allocations: 146.5 kB / 306 MB, free: 2.441 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00222/0.07331, allocations: 0.9593 MB / 306.9 MB, free: 1.469 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01402/0.08733, allocations: 8.759 MB / 315.7 MB, free: 8.367 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003168/0.0905, allocations: 1.702 MB / 317.4 MB, free: 6.645 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001136/0.09164, allocations: 0.6286 MB / 318 MB, free: 6.02 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001795/0.09182, allocations: 73.94 kB / 318.1 MB, free: 5.949 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001069/0.09288, allocations: 0.8194 MB / 318.9 MB, free: 5.051 MB / 314.7 MB Notification: Performance of pre-optimization done (n=185): time 4.198e-06/0.09289, allocations: 0 / 318.9 MB, free: 5.051 MB / 314.7 MB Notification: Performance of matching and sorting (n=188): time 0.008541/0.1014, allocations: 3.428 MB / 322.3 MB, free: 1.582 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.552e-05/0.1015, allocations: 124.8 kB / 322.4 MB, free: 1.434 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001349/0.1029, allocations: 1.168 MB / 323.6 MB, free: 264 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001024/0.103, allocations: 65.7 kB / 323.7 MB, free: 192 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008554/0.1038, allocations: 1.231 MB / 324.9 MB, free: 14.94 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000507/0.1043, allocations: 0.6622 MB / 325.6 MB, free: 14.27 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005328/0.1049, allocations: 367.8 kB / 325.9 MB, free: 13.91 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.105, allocations: 309.1 kB / 326.2 MB, free: 13.6 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005156/0.1055, allocations: 235.3 kB / 326.5 MB, free: 13.37 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009488/0.1064, allocations: 1.005 MB / 327.5 MB, free: 12.05 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001646/0.1081, allocations: 1.308 MB / 328.8 MB, free: 10.49 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.345e-05/0.1081, allocations: 11.94 kB / 328.8 MB, free: 10.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=276) (initialization): time 0.002335/0.1104, allocations: 1.353 MB / 330.1 MB, free: 9.098 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.763e-05/0.1104, allocations: 18.66 kB / 330.2 MB, free: 9.082 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.863e-05/0.1105, allocations: 20 kB / 330.2 MB, free: 9.062 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008349/0.1113, allocations: 284.9 kB / 330.5 MB, free: 8.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001604/0.1129, allocations: 0.5266 MB / 331 MB, free: 8.242 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004928/0.1178, allocations: 6.5 MB / 337.5 MB, free: 1.371 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009036/0.1187, allocations: 87.94 kB / 337.6 MB, free: 1.285 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001234/0.1189, allocations: 71.98 kB / 337.6 MB, free: 1.215 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * 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 (245): * Single equations (assignments): 240 * 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.0006389/0.1195, allocations: 269 kB / 337.9 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002708/0.1198, allocations: 175.8 kB / 338.1 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1938/0.3136, allocations: 1.198 MB / 339.3 MB, free: 53.08 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.305e-05/0.3136, allocations: 20.36 kB / 339.3 MB, free: 53.08 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.583e-05/0.3137, allocations: 9.781 kB / 339.3 MB, free: 53.08 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.628e-05/0.3137, allocations: 9.656 kB / 339.3 MB, free: 53.08 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005877/0.3196, allocations: 3.063 MB / 342.4 MB, free: 52.45 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/0.3196, allocations: 3.094 kB / 342.4 MB, free: 52.45 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006982/0.3203, allocations: 278.5 kB / 342.6 MB, free: 52.45 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005047/0.3208, allocations: 219.9 kB / 342.9 MB, free: 52.45 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009626/0.3218, allocations: 423.5 kB / 343.3 MB, free: 52.39 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.527e-05/0.3219, allocations: 45.61 kB / 343.3 MB, free: 52.39 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004954/0.3268, allocations: 9.971 MB / 353.3 MB, free: 44.5 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/0.3268, allocations: 3.344 kB / 353.3 MB, free: 44.5 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001838/0.3287, allocations: 1.703 MB / 355 MB, free: 44.04 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001818/0.3288, allocations: 47.55 kB / 355 MB, free: 44.04 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004001/0.3292, allocations: 64.06 kB / 355.1 MB, free: 44.04 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002217/0.3295, allocations: 149.3 kB / 355.2 MB, free: 44.04 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.388e-05/0.3295, allocations: 37.48 kB / 355.3 MB, free: 44.04 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005998/0.3301, allocations: 0.5756 MB / 355.9 MB, free: 43.99 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3301, allocations: 0 / 355.9 MB, free: 43.99 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001753/0.3319, allocations: 0.6345 MB / 356.5 MB, free: 43.99 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (137): * Single equations (assignments): 128 * 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.0003012/0.3322, allocations: 177.1 kB / 356.7 MB, free: 43.92 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001511/0.3337, allocations: 1.564 MB / 358.2 MB, free: 43.4 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.822e-05/0.3337, allocations: 39.36 kB / 358.3 MB, free: 43.4 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001136/0.3349, allocations: 1.515 MB / 359.8 MB, free: 42.67 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002074/0.3369, allocations: 4.993 MB / 364.8 MB, free: 37.65 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02092/0.3579, allocations: 5.344 MB / 370.1 MB, free: 35.45 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007129/0.3586, allocations: 0.6836 MB / 370.8 MB, free: 35.32 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000803/0.3594, allocations: 267.7 kB / 371.1 MB, free: 35.26 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007693/0.3601, allocations: 0.495 MB / 371.6 MB, free: 35.2 MB / 330.7 MB Notification: Performance of SimCode: time 1.523e-06/0.3601, allocations: 0 / 371.6 MB, free: 35.2 MB / 330.7 MB Notification: Performance of Templates: time 0.04118/0.4013, allocations: 34.98 MB / 406.5 MB, free: 4.707 MB / 330.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 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7307320442050695]