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.001287/0.001287, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.9348/0.9348, allocations: 177.2 MB / 200.5 MB, free: 5.535 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.001368/0.001368, allocations: 164.4 kB / 257 MB, free: 13.05 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.02512/0.02512, allocations: 6.658 MB / 320.1 MB, free: 26.6 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.473e-06/1.473e-06, allocations: 0 / 391.7 MB, free: 2.949 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.226e-05/2.374e-05, allocations: 2.312 kB / 391.7 MB, free: 2.945 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMR_Inverter): time 0.01146/0.01148, allocations: 13.67 MB / 405.4 MB, free: 5.203 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.007967/0.01945, allocations: 4.606 MB / 410 MB, free: 0.582 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002017/0.02146, allocations: 115.3 kB / 410.1 MB, free: 480 kB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1727/0.1941, allocations: 1.034 MB / 411.1 MB, free: 68.72 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004771/0.1989, allocations: 1.349 MB / 412.5 MB, free: 68.61 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002438/0.2013, allocations: 0.9048 MB / 413.4 MB, free: 68.6 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005537/0.2069, allocations: 4.044 MB / 417.4 MB, free: 67.55 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003433/0.2103, allocations: 1.801 MB / 419.2 MB, free: 67.31 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005495/0.2158, allocations: 2.735 MB / 421.9 MB, free: 66.31 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003807/0.2196, allocations: 1.866 MB / 423.8 MB, free: 65.77 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001451/0.221, allocations: 496.8 kB / 424.3 MB, free: 65.77 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001949/0.223, allocations: 0.6999 MB / 425 MB, free: 65.71 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009448/0.2239, allocations: 1.116 MB / 426.1 MB, free: 65.03 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00217/0.2261, allocations: 1.408 MB / 427.5 MB, free: 64.38 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003857/0.23, allocations: 3.341 MB / 430.9 MB, free: 62.79 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.23, allocations: 0 / 430.9 MB, free: 62.79 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.23, allocations: 0 / 430.9 MB, free: 62.79 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001647/0.2301, allocations: 0 / 430.9 MB, free: 62.79 MB / 330.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.007059/0.2372, allocations: 4.439 MB / 435.3 MB, free: 59.68 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.2372, allocations: 12.03 kB / 435.3 MB, free: 59.66 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002791/0.24, allocations: 1.145 MB / 436.4 MB, free: 58.53 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002825/0.2429, allocations: 2.216 MB / 438.7 MB, free: 56.37 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.586e-05/0.2429, allocations: 234.7 kB / 438.9 MB, free: 56.14 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002806/0.2432, allocations: 319.4 kB / 439.2 MB, free: 55.83 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003423/0.2466, allocations: 2.509 MB / 441.7 MB, free: 53.25 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.552e-05/0.2467, allocations: 4 kB / 441.7 MB, free: 53.24 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000187/0.2469, allocations: 127.9 kB / 441.8 MB, free: 53.12 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.251e-05/0.247, allocations: 146.3 kB / 442 MB, free: 52.97 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002179/0.2492, allocations: 1.177 MB / 443.2 MB, free: 51.79 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01045/0.2596, allocations: 10.62 MB / 453.8 MB, free: 41.1 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002133/0.2618, allocations: 1.632 MB / 455.4 MB, free: 39.59 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007487/0.2625, allocations: 0.5662 MB / 456 MB, free: 39.02 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002507/0.265, allocations: 2.043 MB / 458 MB, free: 37 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/0.265, allocations: 46.39 kB / 458.1 MB, free: 36.95 MB / 330.7 MB Notification: Performance of pre-optimization done (n=107): time 2.746e-06/0.265, allocations: 0 / 458.1 MB, free: 36.95 MB / 330.7 MB Notification: Performance of matching and sorting (n=110): time 0.00444/0.2695, allocations: 2.827 MB / 460.9 MB, free: 34.1 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.461e-05/0.2695, allocations: 64.41 kB / 461 MB, free: 34.02 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001206/0.2707, allocations: 1.305 MB / 462.3 MB, free: 32.69 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.818e-05/0.2708, allocations: 49.7 kB / 462.3 MB, free: 32.64 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000517/0.2713, allocations: 1.555 MB / 463.9 MB, free: 31.07 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001786/0.2715, allocations: 413.8 kB / 464.3 MB, free: 30.68 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002483/0.2717, allocations: 293.1 kB / 464.6 MB, free: 30.38 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.913e-05/0.2717, allocations: 484 kB / 465 MB, free: 29.91 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003356/0.2721, allocations: 215.8 kB / 465.2 MB, free: 29.7 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005065/0.2726, allocations: 0.9381 MB / 466.2 MB, free: 28.46 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000962/0.2735, allocations: 1.243 MB / 467.4 MB, free: 26.99 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.669e-06/0.2736, allocations: 7.188 kB / 467.4 MB, free: 26.98 MB / 330.7 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.001482/0.275, allocations: 1.302 MB / 468.7 MB, free: 25.76 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.2751, allocations: 12 kB / 468.7 MB, free: 25.75 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.569e-05/0.2751, allocations: 16 kB / 468.8 MB, free: 25.73 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002784/0.2754, allocations: 114.8 kB / 468.9 MB, free: 25.61 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007292/0.2761, allocations: 358.8 kB / 469.2 MB, free: 25.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001371/0.2775, allocations: 3.921 MB / 473.1 MB, free: 21.15 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006647/0.2781, allocations: 71.86 kB / 473.2 MB, free: 21.08 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.697e-05/0.2782, allocations: 68.16 kB / 473.3 MB, free: 21.01 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.0005859/0.2788, allocations: 255.5 kB / 473.5 MB, free: 20.77 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001637/0.2789, allocations: 198.9 kB / 473.7 MB, free: 20.58 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001316/0.2803, allocations: 1.053 MB / 474.8 MB, free: 19.52 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.261e-06/0.2803, allocations: 11.98 kB / 474.8 MB, free: 19.5 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.2803, allocations: 8 kB / 474.8 MB, free: 19.5 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.2803, allocations: 3.984 kB / 474.8 MB, free: 19.49 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003442/0.2837, allocations: 3.095 MB / 477.9 MB, free: 16.35 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.2837, allocations: 4 kB / 477.9 MB, free: 16.35 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004255/0.2841, allocations: 174.1 kB / 478.1 MB, free: 16.19 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005344/0.2847, allocations: 262.2 kB / 478.3 MB, free: 15.92 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.946e-05/0.2847, allocations: 27.98 kB / 478.4 MB, free: 15.89 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003257/0.288, allocations: 8.806 MB / 487.2 MB, free: 6.66 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.288, allocations: 0 / 487.2 MB, free: 6.66 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001717/0.2897, allocations: 1.476 MB / 488.6 MB, free: 5.148 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004109/0.2901, allocations: 282.7 kB / 488.9 MB, free: 4.871 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001387/0.2903, allocations: 27.98 kB / 488.9 MB, free: 4.844 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003716/0.2906, allocations: 47.97 kB / 489 MB, free: 4.797 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001664/0.2908, allocations: 92.39 kB / 489.1 MB, free: 4.711 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-05/0.2908, allocations: 31.98 kB / 489.1 MB, free: 4.68 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007431/0.2916, allocations: 0.7472 MB / 489.9 MB, free: 3.934 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2916, allocations: 0 / 489.9 MB, free: 3.934 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001371/0.293, allocations: 0.5117 MB / 490.4 MB, free: 3.422 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.0003152/0.2933, allocations: 154.1 kB / 490.5 MB, free: 3.27 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001344/0.2946, allocations: 1.159 MB / 491.7 MB, free: 2.129 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.2946, allocations: 0 / 491.7 MB, free: 2.129 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008452/0.2955, allocations: 1.178 MB / 492.9 MB, free: 0.9062 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001172/0.2966, allocations: 447.4 kB / 493.3 MB, free: 496 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007768/0.3044, allocations: 4.8 MB / 498.1 MB, free: 11.62 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007791/0.3052, allocations: 0.7438 MB / 498.8 MB, free: 10.85 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0008619/0.306, allocations: 318 kB / 499.1 MB, free: 10.54 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002542/0.3063, allocations: 112.5 kB / 499.3 MB, free: 10.42 MB / 346.7 MB Notification: Performance of SimCode: time 2.284e-06/0.3063, allocations: 0 / 499.3 MB, free: 10.42 MB / 346.7 MB Notification: Performance of Templates: time 0.03395/0.3403, allocations: 23.46 MB / 0.5105 GB, free: 3.406 MB / 362.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.573226299136877]