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.0008426/0.0008426, 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.9256/0.9256, allocations: 177.1 MB / 199.4 MB, free: 5.926 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.0009148/0.0009148, allocations: 156.5 kB / 256 MB, free: 13.34 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.02232/0.02232, allocations: 6.666 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.603e-06/1.603e-06, allocations: 0 / 445.4 MB, free: 37.61 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.713e-05/1.874e-05, allocations: 6.219 kB / 445.4 MB, free: 37.61 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMR_Inverter): time 0.007523/0.007542, allocations: 12.3 MB / 457.7 MB, free: 25.25 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.005707/0.01325, allocations: 4.454 MB / 462.2 MB, free: 20.78 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001052/0.0143, allocations: 111.3 kB / 462.3 MB, free: 20.67 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001662/0.01596, allocations: 1.04 MB / 463.3 MB, free: 19.62 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001723/0.01769, allocations: 1.335 MB / 464.7 MB, free: 18.28 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009614/0.01865, allocations: 0.9112 MB / 465.6 MB, free: 17.37 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001782/0.02043, allocations: 4.023 MB / 469.6 MB, free: 13.33 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00126/0.02169, allocations: 1.802 MB / 471.4 MB, free: 11.46 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001605/0.0233, allocations: 2.698 MB / 474.1 MB, free: 8.754 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001069/0.02436, allocations: 1.691 MB / 475.8 MB, free: 7.059 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002998/0.02466, allocations: 496 kB / 476.3 MB, free: 6.574 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006803/0.02534, allocations: 0.7066 MB / 477 MB, free: 5.867 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004295/0.02577, allocations: 1.102 MB / 478.1 MB, free: 4.762 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007482/0.02652, allocations: 1.388 MB / 479.5 MB, free: 3.371 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003403/0.02993, allocations: 6.501 MB / 486 MB, free: 12.85 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.02993, allocations: 3.984 kB / 486 MB, free: 12.85 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.02993, allocations: 0 / 486 MB, free: 12.85 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.772e-05/0.02998, allocations: 4 kB / 486 MB, free: 12.84 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.005255/0.03524, allocations: 4.178 MB / 490.1 MB, free: 8.609 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.03528, allocations: 12.03 kB / 490.2 MB, free: 8.598 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004952/0.03577, allocations: 485.6 kB / 490.6 MB, free: 8.109 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001915/0.03769, allocations: 0.7559 MB / 491.4 MB, free: 7.352 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002488/0.04017, allocations: 2.261 MB / 493.6 MB, free: 5.039 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001253/0.0403, allocations: 242.7 kB / 493.9 MB, free: 4.801 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003075/0.04061, allocations: 312.3 kB / 494.2 MB, free: 4.496 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004569/0.04518, allocations: 4.307 MB / 498.5 MB, free: 112 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.609e-05/0.04522, allocations: 3.953 kB / 498.5 MB, free: 108 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00021/0.04543, allocations: 132.1 kB / 498.6 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.258e-05/0.04553, allocations: 142.3 kB / 498.8 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003742/0.04927, allocations: 3.503 MB / 0.4905 GB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01142/0.06069, allocations: 11.71 MB / 0.5019 GB, free: 228 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002608/0.06329, allocations: 2.133 MB / 0.504 GB, free: 14.17 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001027/0.06432, allocations: 0.9968 MB / 0.505 GB, free: 13.18 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002795/0.06712, allocations: 2.573 MB / 0.5075 GB, free: 10.58 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.06715, allocations: 43.56 kB / 0.5075 GB, free: 10.52 MB / 378.7 MB Notification: Performance of pre-optimization done (n=107): time 2.345e-06/0.06715, allocations: 0 / 0.5075 GB, free: 10.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=110): time 0.005396/0.07255, allocations: 4.145 MB / 0.5116 GB, free: 6.336 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.68e-05/0.07258, allocations: 60.41 kB / 0.5117 GB, free: 6.266 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001402/0.07398, allocations: 1.65 MB / 0.5133 GB, free: 4.609 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.796e-05/0.07403, allocations: 41.7 kB / 0.5133 GB, free: 4.562 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006875/0.07472, allocations: 1.473 MB / 0.5147 GB, free: 3.074 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002468/0.07497, allocations: 404.6 kB / 0.5151 GB, free: 2.676 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000342/0.07531, allocations: 275.4 kB / 0.5154 GB, free: 2.402 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.234e-05/0.07539, allocations: 309.1 kB / 0.5157 GB, free: 2.098 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005975/0.07599, allocations: 0.57 MB / 0.5162 GB, free: 1.527 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00105/0.07704, allocations: 1.084 MB / 0.5173 GB, free: 224 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001456/0.07849, allocations: 1.733 MB / 0.519 GB, free: 14.27 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/0.0785, 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.001897/0.0804, allocations: 1.971 MB / 0.5209 GB, free: 12.27 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/0.08042, allocations: 12 kB / 0.5209 GB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/0.08044, allocations: 16.38 kB / 0.521 GB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002467/0.08068, allocations: 138.4 kB / 0.5211 GB, free: 12.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006866/0.08137, allocations: 363.4 kB / 0.5214 GB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00193/0.0833, allocations: 3.162 MB / 0.5245 GB, free: 8.359 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005156/0.08382, allocations: 72.08 kB / 0.5246 GB, free: 8.289 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.331e-05/0.08389, allocations: 75.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.001008/0.0849, allocations: 0.954 MB / 0.5256 GB, free: 7.25 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001355/0.08503, allocations: 178.9 kB / 0.5258 GB, free: 7.074 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001787/0.08682, allocations: 1.652 MB / 0.5274 GB, free: 5.398 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.08683, allocations: 12 kB / 0.5274 GB, free: 5.387 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.08683, allocations: 7.938 kB / 0.5274 GB, free: 5.379 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.819e-06/0.08684, allocations: 7.969 kB / 0.5274 GB, free: 5.371 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004078/0.09092, allocations: 3.945 MB / 0.5313 GB, free: 1.336 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.09092, allocations: 192 / 0.5313 GB, free: 1.336 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004045/0.09133, allocations: 179.8 kB / 0.5314 GB, free: 1.16 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004404/0.09177, allocations: 314.6 kB / 0.5317 GB, free: 0.8438 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.855e-05/0.09182, allocations: 31.98 kB / 0.5318 GB, free: 0.8125 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004471/0.09629, allocations: 7.709 MB / 0.5393 GB, free: 8.648 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/0.09629, allocations: 4.031 kB / 0.5393 GB, free: 8.645 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002311/0.0986, allocations: 2.421 MB / 0.5417 GB, free: 6.176 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003705/0.09897, allocations: 306.7 kB / 0.5419 GB, free: 5.875 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001136/0.09908, allocations: 35.94 kB / 0.542 GB, free: 5.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003883/0.09947, allocations: 55.95 kB / 0.542 GB, free: 5.785 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001434/0.09962, allocations: 88.77 kB / 0.5421 GB, free: 5.699 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.149e-05/0.09966, allocations: 31.98 kB / 0.5422 GB, free: 5.668 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009831/0.1006, allocations: 1.107 MB / 0.5432 GB, free: 4.566 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1006, allocations: 4 kB / 0.5432 GB, free: 4.562 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001135/0.1018, allocations: 0.5 MB / 0.5437 GB, free: 4.062 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.002893/0.1047, allocations: 3.024 MB / 0.5467 GB, free: 0.9805 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001652/0.1063, allocations: 1.587 MB / 0.5482 GB, free: 15.36 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1063, allocations: 0 / 0.5482 GB, free: 15.36 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001002/0.1073, allocations: 1.177 MB / 0.5494 GB, free: 14.14 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001184/0.1085, allocations: 0.5038 MB / 0.5499 GB, free: 13.64 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1871/0.2956, allocations: 17.77 MB / 0.5672 GB, free: 117.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001203/0.2968, allocations: 1.686 MB / 0.5689 GB, free: 117.2 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000801/0.2976, allocations: 375.8 kB / 0.5692 GB, free: 117.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007612/0.2984, allocations: 1.128 MB / 0.5703 GB, free: 116.2 MB / 426.7 MB Notification: Performance of SimCode: time 1.804e-06/0.2984, allocations: 0 / 0.5703 GB, free: 116.2 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06039/0.3587, allocations: 51.26 MB / 0.6204 GB, free: 68.58 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.128/8.487, allocations: 64 / 0.6204 GB, free: 68.58 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_SynchronousMachines_SMR_Inverter_fmu --startTime=0 --stopTime=2 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_SynchronousMachines_SMR_Inverter.fmu > HanserModelica_HanserModelica.SynchronousMachines.SMR_Inverter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.326181849464774] Failed to read output from testmodel.py, exit status != 0: 8.595808199606836 8.602657132 8.571294121 Calling exit ...