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.0009915/0.0009915, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.8865/0.8865, allocations: 177.1 MB / 199.4 MB, free: 5.945 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.001043/0.001043, allocations: 164.5 kB / 256 MB, free: 13.35 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.02134/0.02134, allocations: 6.667 MB / 319 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: "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMR_Inverter,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMR_Inverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMR_Inverter,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMR_Inverter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 445.4 MB, free: 37.61 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.482e-05/1.632e-05, allocations: 10.22 kB / 445.4 MB, free: 37.6 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMR_Inverter): time 0.007461/0.007477, allocations: 12.28 MB / 457.7 MB, free: 25.26 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.005306/0.01278, allocations: 4.454 MB / 462.2 MB, free: 20.79 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000863/0.01365, allocations: 111.3 kB / 462.3 MB, free: 20.68 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001479/0.01512, allocations: 1.04 MB / 463.3 MB, free: 19.63 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001723/0.01685, allocations: 1.342 MB / 464.7 MB, free: 18.29 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009787/0.01783, allocations: 0.8999 MB / 465.6 MB, free: 17.38 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00173/0.01956, allocations: 4.037 MB / 469.6 MB, free: 13.33 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001205/0.02076, allocations: 1.794 MB / 471.4 MB, free: 11.46 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001534/0.0223, allocations: 2.698 MB / 474.1 MB, free: 8.762 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001027/0.02332, allocations: 1.699 MB / 475.8 MB, free: 7.059 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000278/0.0236, allocations: 496 kB / 476.3 MB, free: 6.574 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006024/0.0242, allocations: 0.7027 MB / 477 MB, free: 5.871 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003843/0.02459, allocations: 1.094 MB / 478.1 MB, free: 4.773 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006766/0.02526, allocations: 1.392 MB / 479.5 MB, free: 3.379 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00336/0.02862, allocations: 6.497 MB / 485.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.02863, allocations: 7.984 kB / 486 MB, free: 12.86 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.02863, allocations: 0 / 486 MB, free: 12.86 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.114e-05/0.02867, allocations: 0 / 486 MB, free: 12.86 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.005175/0.03385, allocations: 4.185 MB / 490.1 MB, free: 8.613 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.03389, allocations: 8.031 kB / 490.1 MB, free: 8.605 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005078/0.03439, allocations: 489.6 kB / 490.6 MB, free: 8.113 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001845/0.03624, allocations: 0.7559 MB / 491.4 MB, free: 7.355 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002364/0.0386, allocations: 2.261 MB / 493.6 MB, free: 5.043 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001061/0.03871, allocations: 242.6 kB / 493.9 MB, free: 4.805 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002962/0.039, allocations: 312.3 kB / 494.2 MB, free: 4.5 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004249/0.04325, allocations: 4.303 MB / 498.5 MB, free: 120 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.772e-05/0.0433, allocations: 7.953 kB / 498.5 MB, free: 112 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002068/0.04351, allocations: 128.1 kB / 498.6 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.659e-05/0.04359, allocations: 142.3 kB / 498.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003697/0.04729, allocations: 3.503 MB / 0.4905 GB, free: 12.33 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0105/0.05779, allocations: 11.72 MB / 0.5019 GB, free: 232 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00251/0.0603, allocations: 2.134 MB / 0.504 GB, free: 14.17 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001054/0.06135, allocations: 0.989 MB / 0.505 GB, free: 13.19 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002876/0.06423, allocations: 2.581 MB / 0.5075 GB, free: 10.58 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/0.06426, allocations: 43.56 kB / 0.5075 GB, free: 10.53 MB / 378.7 MB Notification: Performance of pre-optimization done (n=107): time 2.204e-06/0.06426, allocations: 0 / 0.5075 GB, free: 10.53 MB / 378.7 MB Notification: Performance of matching and sorting (n=110): time 0.005572/0.06983, allocations: 4.141 MB / 0.5116 GB, free: 6.344 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.06987, allocations: 64.41 kB / 0.5117 GB, free: 6.27 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001502/0.07137, allocations: 1.646 MB / 0.5133 GB, free: 4.617 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.079e-05/0.07142, allocations: 45.7 kB / 0.5133 GB, free: 4.566 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006337/0.07205, allocations: 1.465 MB / 0.5147 GB, free: 3.086 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001925/0.07225, allocations: 404.6 kB / 0.5151 GB, free: 2.688 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000247/0.07249, allocations: 279.4 kB / 0.5154 GB, free: 2.41 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.566e-05/0.07256, allocations: 309.1 kB / 0.5157 GB, free: 2.105 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006083/0.07317, allocations: 0.57 MB / 0.5162 GB, free: 1.535 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008235/0.07399, allocations: 1.084 MB / 0.5173 GB, free: 232 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001474/0.07547, allocations: 1.733 MB / 0.519 GB, free: 14.28 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.07547, allocations: 7.984 kB / 0.519 GB, free: 14.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.001929/0.0774, allocations: 1.972 MB / 0.5209 GB, free: 12.28 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.07742, allocations: 18.81 kB / 0.5209 GB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.07744, allocations: 16 kB / 0.521 GB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002325/0.07767, allocations: 134.4 kB / 0.5211 GB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006865/0.07836, allocations: 363.4 kB / 0.5214 GB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001642/0.08, allocations: 3.162 MB / 0.5245 GB, free: 8.363 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005304/0.08053, allocations: 79.86 kB / 0.5246 GB, free: 8.285 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.891e-05/0.0806, allocations: 71.98 kB / 0.5247 GB, free: 8.215 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.001032/0.08163, allocations: 0.954 MB / 0.5256 GB, free: 7.254 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001384/0.08177, allocations: 182.9 kB / 0.5258 GB, free: 7.074 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001802/0.08357, allocations: 1.648 MB / 0.5274 GB, free: 5.402 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.08358, allocations: 12 kB / 0.5274 GB, free: 5.391 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.08358, allocations: 4 kB / 0.5274 GB, free: 5.387 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.896e-06/0.08359, allocations: 11.97 kB / 0.5274 GB, free: 5.375 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003878/0.08747, allocations: 3.945 MB / 0.5313 GB, free: 1.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.08747, allocations: 0 / 0.5313 GB, free: 1.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004122/0.08788, allocations: 175.8 kB / 0.5314 GB, free: 1.168 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004432/0.08833, allocations: 307.4 kB / 0.5317 GB, free: 0.8555 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.979e-05/0.08838, allocations: 35.92 kB / 0.5318 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004381/0.09276, allocations: 7.724 MB / 0.5393 GB, free: 8.648 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.09276, allocations: 8.094 kB / 0.5393 GB, free: 8.641 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002486/0.09525, allocations: 2.413 MB / 0.5417 GB, free: 6.18 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003744/0.09562, allocations: 306.7 kB / 0.542 GB, free: 5.879 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000113/0.09573, allocations: 31.94 kB / 0.542 GB, free: 5.848 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003835/0.09612, allocations: 47.95 kB / 0.542 GB, free: 5.801 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/0.09624, allocations: 92.77 kB / 0.5421 GB, free: 5.711 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.342e-05/0.09629, allocations: 35.98 kB / 0.5422 GB, free: 5.676 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009781/0.09727, allocations: 1.107 MB / 0.5432 GB, free: 4.574 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.1e-08/0.09727, allocations: 0 / 0.5432 GB, free: 4.574 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001261/0.09853, allocations: 0.5078 MB / 0.5437 GB, free: 4.066 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.002722/0.1012, allocations: 3.017 MB / 0.5467 GB, free: 0.9922 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001646/0.1029, allocations: 1.584 MB / 0.5482 GB, free: 15.38 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.1029, allocations: 4.062 kB / 0.5482 GB, free: 15.38 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001018/0.1039, allocations: 1.18 MB / 0.5494 GB, free: 14.15 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001158/0.1051, allocations: 0.5039 MB / 0.5499 GB, free: 13.65 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1625/0.2675, allocations: 17.76 MB / 0.5672 GB, free: 117.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001007/0.2686, allocations: 1.689 MB / 0.5689 GB, free: 117.3 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007035/0.2693, allocations: 377.6 kB / 0.5692 GB, free: 117.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006848/0.2699, allocations: 1.121 MB / 0.5703 GB, free: 116.3 MB / 426.7 MB Notification: Performance of SimCode: time 1.072e-06/0.2699, allocations: 3.719 kB / 0.5703 GB, free: 116.3 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05118/0.3211, allocations: 51.25 MB / 0.6204 GB, free: 68.66 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.578/8.899, allocations: 7.5 kB / 0.6204 GB, free: 68.65 MB / 426.7 MB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.SynchronousMachines.SMR_Inverter_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 HanserModelica_HanserModelica_SynchronousMachines_SMR_Inverter.fmu > HanserModelica_HanserModelica.SynchronousMachines.SMR_Inverter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.137825973331928] Failed to read output from testmodel.py, exit status != 0: 9.008750301785767 9.016461603 8.986079737 Calling exit ...