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.000782/0.000782, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.8465/0.8465, allocations: 177.2 MB / 200.2 MB, free: 5.949 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.001182/0.001182, allocations: 163.6 kB / 256.7 MB, free: 13.36 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.02179/0.02179, allocations: 6.664 MB / 319.8 MB, free: 26.78 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.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.714e-06/1.714e-06, allocations: 0 / 446.7 MB, free: 37.12 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.994e-05/3.165e-05, allocations: 9.234 kB / 446.7 MB, free: 37.11 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMR_Inverter): time 0.008137/0.008168, allocations: 12.28 MB / 459 MB, free: 24.77 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.006404/0.01457, allocations: 4.45 MB / 463.4 MB, free: 20.3 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002003/0.01658, allocations: 111.3 kB / 463.5 MB, free: 20.19 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002299/0.01887, allocations: 1.044 MB / 464.6 MB, free: 19.14 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003031/0.02191, allocations: 1.343 MB / 465.9 MB, free: 17.79 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001468/0.02337, allocations: 0.9034 MB / 466.8 MB, free: 16.89 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003061/0.02643, allocations: 4.032 MB / 470.8 MB, free: 12.84 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001819/0.02825, allocations: 1.802 MB / 472.6 MB, free: 10.96 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002496/0.03075, allocations: 2.698 MB / 475.3 MB, free: 8.262 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001604/0.03235, allocations: 1.703 MB / 477 MB, free: 6.555 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005695/0.03292, allocations: 496 kB / 477.5 MB, free: 6.07 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008155/0.03374, allocations: 0.6909 MB / 478.2 MB, free: 5.379 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003991/0.03414, allocations: 1.098 MB / 479.3 MB, free: 4.277 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001136/0.03527, allocations: 1.392 MB / 480.7 MB, free: 2.883 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00423/0.0395, allocations: 6.505 MB / 487.2 MB, free: 12.36 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.03951, allocations: 0 / 487.2 MB, free: 12.36 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.03951, allocations: 0 / 487.2 MB, free: 12.36 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001362/0.03964, allocations: 0 / 487.2 MB, free: 12.36 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: 826 * Number of variables: 826 Notification: Performance of Generate backend data structure: time 0.006726/0.04637, allocations: 4.186 MB / 491.4 MB, free: 8.117 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.04641, allocations: 8.031 kB / 491.4 MB, free: 8.109 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00199/0.0484, allocations: 0.7559 MB / 492.2 MB, free: 7.352 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002915/0.05131, allocations: 2.261 MB / 494.4 MB, free: 5.039 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001203/0.05143, allocations: 230.7 kB / 494.7 MB, free: 4.812 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003255/0.05176, allocations: 320.3 kB / 495 MB, free: 4.5 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004716/0.05648, allocations: 4.295 MB / 499.3 MB, free: 128 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.697e-05/0.05653, allocations: 3.938 kB / 499.3 MB, free: 124 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000213/0.05675, allocations: 140 kB / 499.4 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.509e-05/0.05684, allocations: 146.3 kB / 499.5 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00396/0.0608, allocations: 3.503 MB / 0.4913 GB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01174/0.07254, allocations: 11.22 MB / 0.5022 GB, free: 0.7383 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002531/0.07507, allocations: 2.141 MB / 0.5043 GB, free: 14.68 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00109/0.07616, allocations: 0.9968 MB / 0.5053 GB, free: 13.69 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003058/0.07922, allocations: 2.543 MB / 0.5078 GB, free: 11.12 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.07925, allocations: 43.56 kB / 0.5078 GB, free: 11.06 MB / 378.7 MB Notification: Performance of pre-optimization done (n=107): time 3.256e-06/0.07925, allocations: 0 / 0.5078 GB, free: 11.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=110): time 0.005408/0.08466, allocations: 4.125 MB / 0.5118 GB, free: 6.895 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.491e-05/0.0847, allocations: 60.41 kB / 0.5119 GB, free: 6.824 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001406/0.0861, allocations: 1.446 MB / 0.5133 GB, free: 5.367 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.058e-05/0.08615, allocations: 49.7 kB / 0.5134 GB, free: 5.312 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007442/0.0869, allocations: 1.468 MB / 0.5148 GB, free: 3.832 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001938/0.08709, allocations: 412.5 kB / 0.5152 GB, free: 3.426 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002536/0.08734, allocations: 271.5 kB / 0.5154 GB, free: 3.156 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.475e-05/0.08741, allocations: 305.1 kB / 0.5157 GB, free: 2.855 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005987/0.08801, allocations: 0.5739 MB / 0.5163 GB, free: 2.281 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001062/0.08907, allocations: 1.088 MB / 0.5174 GB, free: 0.9688 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001497/0.09057, allocations: 1.729 MB / 0.519 GB, free: 15.02 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/0.09057, allocations: 7.938 kB / 0.519 GB, free: 15.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.002162/0.09273, allocations: 1.956 MB / 0.521 GB, free: 13.04 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/0.09276, allocations: 16.03 kB / 0.521 GB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.711e-05/0.09278, allocations: 16 kB / 0.521 GB, free: 13.01 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002553/0.09303, allocations: 134.4 kB / 0.5211 GB, free: 12.87 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007256/0.09376, allocations: 367.4 kB / 0.5215 GB, free: 12.51 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002017/0.09577, allocations: 3.109 MB / 0.5245 GB, free: 9.199 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000703/0.09648, allocations: 76.14 kB / 0.5246 GB, free: 9.125 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.135e-05/0.09655, allocations: 67.98 kB / 0.5246 GB, free: 9.059 MB / 394.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.001233/0.09778, allocations: 0.9604 MB / 0.5256 GB, free: 8.09 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001725/0.09795, allocations: 163 kB / 0.5257 GB, free: 7.93 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001899/0.09985, allocations: 1.646 MB / 0.5273 GB, free: 6.258 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.09986, allocations: 12 kB / 0.5274 GB, free: 6.246 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.09986, allocations: 4 kB / 0.5274 GB, free: 6.242 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/0.09987, allocations: 7.969 kB / 0.5274 GB, free: 6.234 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003872/0.1037, allocations: 3.522 MB / 0.5308 GB, free: 2.641 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.1037, allocations: 3.938 kB / 0.5308 GB, free: 2.637 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005776/0.1043, allocations: 179.8 kB / 0.531 GB, free: 2.461 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007369/0.1051, allocations: 307.3 kB / 0.5313 GB, free: 2.148 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.451e-05/0.1051, allocations: 35.92 kB / 0.5313 GB, free: 2.113 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004638/0.1098, allocations: 7.617 MB / 0.5387 GB, free: 10.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.1098, allocations: 8.312 kB / 0.5388 GB, free: 10.08 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0026/0.1124, allocations: 2.404 MB / 0.5411 GB, free: 7.629 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004957/0.1129, allocations: 290.8 kB / 0.5414 GB, free: 7.344 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.113, allocations: 24 kB / 0.5414 GB, free: 7.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003821/0.1133, allocations: 51.95 kB / 0.5415 GB, free: 7.27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001638/0.1135, allocations: 88.83 kB / 0.5415 GB, free: 7.184 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.373e-05/0.1135, allocations: 39.92 kB / 0.5416 GB, free: 7.145 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009786/0.1145, allocations: 0.9621 MB / 0.5425 GB, free: 6.184 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1145, allocations: 4 kB / 0.5425 GB, free: 6.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001231/0.1158, allocations: 0.5078 MB / 0.543 GB, free: 5.672 MB / 410.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.0002581/0.116, allocations: 150.1 kB / 0.5432 GB, free: 5.52 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00177/0.1178, allocations: 1.588 MB / 0.5447 GB, free: 3.902 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1178, allocations: 0 / 0.5447 GB, free: 3.902 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001357/0.1191, allocations: 1.18 MB / 0.5459 GB, free: 2.672 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001306/0.1204, allocations: 442.4 kB / 0.5463 GB, free: 2.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007419/0.1279, allocations: 5.212 MB / 0.5514 GB, free: 12.98 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001597/0.1295, allocations: 1.622 MB / 0.553 GB, free: 11.32 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005726/0.13, allocations: 132.5 kB / 0.5531 GB, free: 11.2 MB / 426.7 MB Notification: Performance of SimCode: time 1.613e-06/0.13, allocations: 0 / 0.5531 GB, free: 11.2 MB / 426.7 MB Notification: Performance of Templates: time 0.1829/0.3129, allocations: 91.04 MB / 0.642 GB, free: 43.51 MB / 426.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=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMR_Inverter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.9399621076881886] Failed to read output from testmodel.py, exit status != 0: 0.31830891594290733 0.324179899 0.283247478 Calling exit ...