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.001598/0.001598, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.495/1.495, allocations: 230.6 MB / 252.7 MB, free: 8.102 MB / 206.1 MB " [Timeout remaining time 178] 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.002288/0.002288, allocations: 199 kB / 309.2 MB, free: 2.949 MB / 238.1 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.04187/0.04187, allocations: 8.908 MB / 374.6 MB, free: 1.723 MB / 302.1 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: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 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.002642/0.002642, allocations: 86.38 kB / 0.4896 GB, free: 4.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1164, allocations: 55.61 MB / 0.5439 GB, free: 4.336 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMR_Inverter): time 0.01706/0.1335, allocations: 12.27 MB / 0.5559 GB, free: 8.004 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01121/0.1447, allocations: 4.446 MB / 0.5603 GB, free: 3.543 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002751/0.1474, allocations: 111.3 kB / 0.5604 GB, free: 3.434 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003672/0.1511, allocations: 1.037 MB / 0.5614 GB, free: 2.391 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00487/0.156, allocations: 1.298 MB / 0.5626 GB, free: 1.086 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002948/0.1589, allocations: 0.8898 MB / 0.5635 GB, free: 204 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006179/0.1651, allocations: 3.855 MB / 0.5673 GB, free: 12.33 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003744/0.1688, allocations: 1.794 MB / 0.569 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003284/0.1721, allocations: 1.854 MB / 0.5708 GB, free: 8.605 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003701/0.1758, allocations: 1.996 MB / 0.5728 GB, free: 6.602 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009879/0.1768, allocations: 496 kB / 0.5733 GB, free: 6.117 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00177/0.1786, allocations: 0.6911 MB / 0.5739 GB, free: 5.426 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001096/0.1797, allocations: 1.083 MB / 0.575 GB, free: 4.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002417/0.1821, allocations: 1.615 MB / 0.5766 GB, free: 2.719 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008198/0.1903, allocations: 6.486 MB / 0.5829 GB, free: 12.21 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1903, allocations: 0 / 0.5829 GB, free: 12.21 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1903, allocations: 0 / 0.5829 GB, free: 12.21 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001621/0.1905, allocations: 4 kB / 0.5829 GB, free: 12.21 MB / 398.1 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.01162/0.2021, allocations: 4.217 MB / 0.587 GB, free: 7.934 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.316e-05/0.2021, allocations: 12.02 kB / 0.587 GB, free: 7.922 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004017/0.2061, allocations: 0.7482 MB / 0.5878 GB, free: 7.172 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005313/0.2115, allocations: 2.266 MB / 0.59 GB, free: 4.859 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002359/0.2117, allocations: 238.7 kB / 0.5902 GB, free: 4.625 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007225/0.2124, allocations: 312.1 kB / 0.5905 GB, free: 4.32 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008705/0.2211, allocations: 4.298 MB / 0.5947 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.214e-05/0.2212, allocations: 7.984 kB / 0.5947 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003116/0.2215, allocations: 124 kB / 0.5948 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001777/0.2217, allocations: 150.2 kB / 0.595 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007307/0.229, allocations: 3.503 MB / 0.5984 GB, free: 12.15 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02258/0.2516, allocations: 11.23 MB / 0.6094 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004616/0.2562, allocations: 2.149 MB / 0.6115 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001894/0.2581, allocations: 0.989 MB / 0.6124 GB, free: 13.5 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005509/0.2636, allocations: 2.536 MB / 0.6149 GB, free: 10.93 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.57e-05/0.2636, allocations: 43.56 kB / 0.6149 GB, free: 10.88 MB / 430.1 MB Notification: Performance of pre-optimization done (n=107): time 3.897e-06/0.2636, allocations: 3.938 kB / 0.615 GB, free: 10.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=110): time 0.009663/0.2733, allocations: 4.129 MB / 0.619 GB, free: 6.711 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.36e-05/0.2734, allocations: 60.41 kB / 0.619 GB, free: 6.637 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002441/0.2758, allocations: 1.442 MB / 0.6204 GB, free: 5.184 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001387/0.2759, allocations: 49.7 kB / 0.6205 GB, free: 5.129 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001215/0.2772, allocations: 1.476 MB / 0.6219 GB, free: 3.641 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003895/0.2775, allocations: 412.5 kB / 0.6223 GB, free: 3.234 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000492/0.278, allocations: 275.5 kB / 0.6226 GB, free: 2.957 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.2782, allocations: 313.1 kB / 0.6229 GB, free: 2.648 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001065/0.2792, allocations: 0.5661 MB / 0.6234 GB, free: 2.082 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001479/0.2807, allocations: 1.08 MB / 0.6245 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002703/0.2834, allocations: 1.729 MB / 0.6262 GB, free: 14.84 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.137e-05/0.2834, allocations: 4 kB / 0.6262 GB, free: 14.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003944/0.2874, allocations: 1.968 MB / 0.6281 GB, free: 12.85 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.709e-05/0.2874, allocations: 16.06 kB / 0.6281 GB, free: 12.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-05/0.2875, allocations: 16 kB / 0.6281 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004272/0.2879, allocations: 130.5 kB / 0.6283 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001361/0.2892, allocations: 363.4 kB / 0.6286 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003166/0.2924, allocations: 3.127 MB / 0.6317 GB, free: 8.992 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001431/0.2938, allocations: 76.14 kB / 0.6317 GB, free: 8.918 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001384/0.294, allocations: 68.11 kB / 0.6318 GB, free: 8.852 MB / 446.1 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.001953/0.2959, allocations: 0.9657 MB / 0.6328 GB, free: 7.875 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003864/0.2963, allocations: 166.9 kB / 0.6329 GB, free: 7.711 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003394/0.2997, allocations: 1.642 MB / 0.6345 GB, free: 6.047 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.561e-05/0.2997, allocations: 12 kB / 0.6345 GB, free: 6.035 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.2997, allocations: 4 kB / 0.6345 GB, free: 6.031 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/0.2998, allocations: 3.984 kB / 0.6345 GB, free: 6.027 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007391/0.3071, allocations: 3.526 MB / 0.638 GB, free: 2.426 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.257e-06/0.3072, allocations: 4 kB / 0.638 GB, free: 2.422 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008448/0.308, allocations: 183.7 kB / 0.6382 GB, free: 2.242 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008681/0.3089, allocations: 299.3 kB / 0.6384 GB, free: 1.938 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.364e-05/0.309, allocations: 35.92 kB / 0.6385 GB, free: 1.902 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008358/0.3173, allocations: 7.618 MB / 0.6459 GB, free: 9.879 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.3173, allocations: 4.062 kB / 0.6459 GB, free: 9.875 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004751/0.3221, allocations: 2.408 MB / 0.6483 GB, free: 7.414 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009786/0.323, allocations: 282.8 kB / 0.6485 GB, free: 7.137 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002207/0.3233, allocations: 27.98 kB / 0.6486 GB, free: 7.109 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007537/0.324, allocations: 51.97 kB / 0.6486 GB, free: 7.059 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002638/0.3243, allocations: 92.77 kB / 0.6487 GB, free: 6.969 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.429e-05/0.3244, allocations: 31.98 kB / 0.6487 GB, free: 6.938 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001596/0.3259, allocations: 0.966 MB / 0.6497 GB, free: 5.973 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3259, allocations: 4 kB / 0.6497 GB, free: 5.969 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001947/0.3279, allocations: 0.5078 MB / 0.6502 GB, free: 5.461 MB / 462.1 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.0003485/0.3282, allocations: 159.2 kB / 0.6503 GB, free: 5.293 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003075/0.3313, allocations: 1.584 MB / 0.6519 GB, free: 3.684 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.3313, allocations: 128 / 0.6519 GB, free: 3.684 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001978/0.3333, allocations: 1.172 MB / 0.653 GB, free: 2.461 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002154/0.3355, allocations: 435.7 kB / 0.6534 GB, free: 2.039 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2189/0.5543, allocations: 5.44 MB / 0.6587 GB, free: 99.11 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00243/0.5568, allocations: 1.692 MB / 0.6604 GB, free: 98.92 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001462/0.5582, allocations: 352.6 kB / 0.6607 GB, free: 98.9 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003211/0.5585, allocations: 114.3 kB / 0.6608 GB, free: 98.89 MB / 462.1 MB Notification: Performance of SimCode: time 1.263e-06/0.5585, allocations: 1.312 kB / 0.6608 GB, free: 98.89 MB / 462.1 MB Notification: Performance of Templates: time 0.04066/0.5992, allocations: 27.07 MB / 0.6873 GB, free: 82.09 MB / 462.1 MB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMR_Inverter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.1269371509552] Failed to read output from testmodel.py, exit status != 0: 0.6080578360706568 0.617386337 0.42457170499999997 Calling exit ...