Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMR_Inverter.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.0006816/0.0006816, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008795/0.001561, allocations: 435.8 kB / 10.33 MB, free: 368 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 0.9435/0.9435, allocations: 177.2 MB / 188.2 MB, free: 4.488 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2045/1.148, allocations: 53.64 MB / 241.9 MB, free: 2.727 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.001289/0.001289, allocations: 154.8 kB / 242.8 MB, free: 1.863 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001621/0.00291, allocations: 477.6 kB / 243.2 MB, free: 1.414 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.02541/0.02541, allocations: 6.659 MB / 250.6 MB, free: 10.22 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005414/0.03083, allocations: 2.662 MB / 253.3 MB, free: 7.551 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.SynchronousMachines.SMR_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMR_Inverter") translateModel(HanserModelica.SynchronousMachines.SMR_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMR_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 254.6 MB, free: 6.266 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.295e-05/2.469e-05, allocations: 8.359 kB / 254.6 MB, free: 6.258 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMR_Inverter): time 0.01645/0.01648, allocations: 13.56 MB / 268.1 MB, free: 8.641 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01058/0.02706, allocations: 4.826 MB / 273 MB, free: 3.797 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002094/0.02915, allocations: 111.3 kB / 273.1 MB, free: 3.688 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002202/0.03135, allocations: 1.083 MB / 274.2 MB, free: 2.598 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003386/0.03474, allocations: 1.331 MB / 275.5 MB, free: 1.258 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001661/0.0364, allocations: 0.8999 MB / 276.4 MB, free: 364 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004036/0.04044, allocations: 4.056 MB / 280.4 MB, free: 12.28 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001945/0.04238, allocations: 1.857 MB / 282.3 MB, free: 10.33 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003496/0.04588, allocations: 2.971 MB / 285.3 MB, free: 7.344 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002055/0.04793, allocations: 1.875 MB / 287.1 MB, free: 5.465 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006575/0.04859, allocations: 496 kB / 287.6 MB, free: 4.98 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001276/0.04987, allocations: 0.7065 MB / 288.3 MB, free: 4.273 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006804/0.05055, allocations: 0.8884 MB / 289.2 MB, free: 3.383 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001394/0.05194, allocations: 1.174 MB / 290.4 MB, free: 2.207 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003468/0.05541, allocations: 3.166 MB / 293.6 MB, free: 15.03 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.322e-05/0.05542, allocations: 4 kB / 293.6 MB, free: 15.03 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.05542, allocations: 0 / 293.6 MB, free: 15.03 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.189e-05/0.05549, allocations: 0 / 293.6 MB, free: 15.03 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: 826 * Number of variables: 826 Notification: Performance of Generate backend data structure: time 0.005688/0.06118, allocations: 4.868 MB / 298.4 MB, free: 10.09 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.06122, allocations: 8.031 kB / 298.4 MB, free: 10.08 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002341/0.06356, allocations: 1.031 MB / 299.5 MB, free: 9.051 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002245/0.0658, allocations: 1.423 MB / 300.9 MB, free: 7.57 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001082/0.06591, allocations: 234.7 kB / 301.1 MB, free: 7.34 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003053/0.06622, allocations: 316.3 kB / 301.4 MB, free: 7.031 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002585/0.0688, allocations: 2.362 MB / 303.8 MB, free: 4.586 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.076e-05/0.06885, allocations: 3.938 kB / 303.8 MB, free: 4.582 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001836/0.06904, allocations: 132 kB / 303.9 MB, free: 4.453 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.966e-05/0.06913, allocations: 142.3 kB / 304.1 MB, free: 4.312 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001342/0.07048, allocations: 0.9187 MB / 305 MB, free: 3.379 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008645/0.07912, allocations: 8.497 MB / 313.5 MB, free: 10.51 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001679/0.0808, allocations: 1.407 MB / 314.9 MB, free: 9.098 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006005/0.0814, allocations: 477 kB / 315.4 MB, free: 8.629 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002057/0.08346, allocations: 1.59 MB / 316.9 MB, free: 7.016 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.08349, allocations: 47.56 kB / 317 MB, free: 6.961 MB / 314.7 MB Notification: Performance of pre-optimization done (n=107): time 2.234e-06/0.08349, allocations: 4 kB / 317 MB, free: 6.957 MB / 314.7 MB Notification: Performance of matching and sorting (n=110): time 0.00335/0.08684, allocations: 2.105 MB / 319.1 MB, free: 4.812 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.78e-05/0.08687, allocations: 60.41 kB / 319.2 MB, free: 4.738 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007247/0.08759, allocations: 1.087 MB / 320.2 MB, free: 3.637 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.665e-05/0.08764, allocations: 45.7 kB / 320.3 MB, free: 3.586 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007711/0.08841, allocations: 1.275 MB / 321.6 MB, free: 2.297 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001868/0.0886, allocations: 408.5 kB / 322 MB, free: 1.895 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002288/0.08882, allocations: 263.4 kB / 322.2 MB, free: 1.633 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.157e-05/0.08889, allocations: 301.1 kB / 322.5 MB, free: 1.336 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002082/0.08909, allocations: 170.8 kB / 322.7 MB, free: 1.168 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003997/0.08949, allocations: 0.6737 MB / 323.4 MB, free: 280 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007092/0.0902, allocations: 0.9535 MB / 324.3 MB, free: 15.11 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.09021, allocations: 4 kB / 324.3 MB, free: 15.1 MB / 330.7 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.001001/0.09121, allocations: 0.95 MB / 325.3 MB, free: 14.13 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.09123, allocations: 12 kB / 325.3 MB, free: 14.12 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/0.09125, allocations: 16 kB / 325.3 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001992/0.09145, allocations: 98.44 kB / 325.4 MB, free: 14 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008393/0.09228, allocations: 425.5 kB / 325.8 MB, free: 13.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00144/0.09372, allocations: 2.763 MB / 328.6 MB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005073/0.09423, allocations: 51.98 kB / 328.6 MB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.246e-05/0.09429, allocations: 64.08 kB / 328.7 MB, free: 10.52 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (185): * Single equations (assignments): 182 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 2 systems {(1,1,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005056/0.0948, allocations: 216 kB / 328.9 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001391/0.09494, allocations: 127.9 kB / 329 MB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001015/0.09595, allocations: 0.8235 MB / 329.8 MB, free: 9.324 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.453e-06/0.09596, allocations: 12 kB / 329.9 MB, free: 9.312 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.09597, allocations: 4 kB / 329.9 MB, free: 9.309 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/0.09597, allocations: 3.984 kB / 329.9 MB, free: 9.305 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002258/0.09823, allocations: 1.898 MB / 331.8 MB, free: 7.344 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.09824, allocations: 4 kB / 331.8 MB, free: 7.34 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004773/0.09871, allocations: 195.7 kB / 332 MB, free: 7.148 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002512/0.09896, allocations: 170.9 kB / 332.1 MB, free: 6.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004207/0.09939, allocations: 227.3 kB / 332.3 MB, free: 6.746 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.454e-05/0.09943, allocations: 31.92 kB / 332.4 MB, free: 6.715 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0032/0.1026, allocations: 6.29 MB / 338.7 MB, free: 68 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.1026, allocations: 3.984 kB / 338.7 MB, free: 64 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1359/0.2385, allocations: 1.108 MB / 339.8 MB, free: 53.78 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002167/0.2387, allocations: 26.88 kB / 339.8 MB, free: 53.78 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003893/0.2391, allocations: 43.47 kB / 339.8 MB, free: 53.78 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001921/0.2393, allocations: 96.2 kB / 339.9 MB, free: 53.78 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.473e-05/0.2393, allocations: 23.55 kB / 340 MB, free: 53.78 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006872/0.24, allocations: 0.5307 MB / 340.5 MB, free: 53.73 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.24, allocations: 0 / 340.5 MB, free: 53.73 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001429/0.2415, allocations: 0.5066 MB / 341 MB, free: 53.73 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (smr.inertiaRotor.w,smr.stator.zeroInductor.i0,smr.stator.core.Phi.re,smr.stator.core.Phi.im,smr.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smr.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,vfController.x,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,5,100.0%), (1,1,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.000271/0.2417, allocations: 140.8 kB / 341.1 MB, free: 53.66 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001222/0.243, allocations: 0.8952 MB / 342 MB, free: 53.4 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.648e-05/0.243, allocations: 29.88 kB / 342.1 MB, free: 53.4 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007528/0.2438, allocations: 0.8769 MB / 342.9 MB, free: 52.93 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001168/0.2449, allocations: 0.5533 MB / 343.5 MB, free: 52.92 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01957/0.2645, allocations: 4.832 MB / 348.3 MB, free: 50.91 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006159/0.2651, allocations: 0.6151 MB / 348.9 MB, free: 50.79 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009072/0.266, allocations: 233.5 kB / 349.2 MB, free: 50.77 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006748/0.2667, allocations: 432.1 kB / 349.6 MB, free: 50.71 MB / 330.7 MB Notification: Performance of SimCode: time 1.603e-06/0.2667, allocations: 0.7656 kB / 349.6 MB, free: 50.71 MB / 330.7 MB Notification: Performance of Templates: time 0.03534/0.302, allocations: 26.78 MB / 376.4 MB, free: 34.04 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMR_Inverter.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMR_Inverter.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMR_Inverter.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMR_Inverter.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMR_Inverter.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMR_Inverter -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMR_Inverter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.437858841381967]