Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMPM_CurrentSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 105.5 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 225.6 MB / 246.7 MB, free: 13.68 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001525/0.001525, allocations: 192.9 kB / 302 MB, free: 9.195 MB / 238.1 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.06417/0.06417, allocations: 8.928 MB / 366 MB, free: 9.34 MB / 302.1 MB [Timeout remaining time 90] Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(HanserModelica.SynchronousMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMPM_CurrentSource") translateModel(HanserModelica.SynchronousMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMPM_CurrentSource") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.002465/0.002465, allocations: 79.89 kB / 489.8 MB, free: 10.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09164/0.09411, allocations: 54.43 MB / 0.5315 GB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMPM_CurrentSource): time 0.03379/0.1279, allocations: 28.84 MB / 0.5596 GB, free: 1.887 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01744/0.1453, allocations: 8.47 MB / 0.5679 GB, free: 9.387 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004333/0.1497, allocations: 215.4 kB / 0.5681 GB, free: 9.176 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01957/0.1692, allocations: 8.244 MB / 0.5762 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009055/0.1783, allocations: 2.866 MB / 0.579 GB, free: 14.04 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005057/0.1834, allocations: 1.87 MB / 0.5808 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01284/0.1962, allocations: 10.01 MB / 0.5906 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02448/0.2207, allocations: 16.33 MB / 0.6065 GB, free: 1.648 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007866/0.2285, allocations: 5.388 MB / 0.6118 GB, free: 12.25 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009497/0.238, allocations: 6.105 MB / 0.6177 GB, free: 6.121 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003013/0.241, allocations: 1.543 MB / 0.6192 GB, free: 4.578 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004246/0.2453, allocations: 1.898 MB / 0.6211 GB, free: 2.68 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003154/0.2484, allocations: 2.996 MB / 0.624 GB, free: 15.68 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007733/0.2562, allocations: 5.864 MB / 0.6297 GB, free: 9.789 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.229/0.4852, allocations: 20.66 MB / 0.6499 GB, free: 40.73 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.4852, allocations: 0 / 0.6499 GB, free: 40.73 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4852, allocations: 0 / 0.6499 GB, free: 40.73 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004843/0.4857, allocations: 0 / 0.6499 GB, free: 40.73 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2602 * Number of variables: 2602 Notification: Performance of Generate backend data structure: time 0.02997/0.5156, allocations: 12.06 MB / 0.6617 GB, free: 36.2 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.5157, allocations: 9.25 kB / 0.6617 GB, free: 36.2 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02868/0.5443, allocations: 5.681 MB / 0.6673 GB, free: 33.97 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.012/0.5563, allocations: 6.33 MB / 0.6734 GB, free: 31.68 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003871/0.5567, allocations: 0.7057 MB / 0.6741 GB, free: 31.36 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00247/0.5592, allocations: 0.9319 MB / 0.675 GB, free: 31.05 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02765/0.5868, allocations: 15.07 MB / 0.6898 GB, free: 20.41 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003048/0.5871, allocations: 11.95 kB / 0.6898 GB, free: 20.39 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002179/0.5893, allocations: 389 kB / 0.6901 GB, free: 20.02 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003796/0.5897, allocations: 0.5268 MB / 0.6906 GB, free: 19.5 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02203/0.6117, allocations: 13.74 MB / 0.7041 GB, free: 5.738 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07806/0.6898, allocations: 47.43 MB / 0.7504 GB, free: 5.984 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02613/0.7159, allocations: 28.43 MB / 0.7781 GB, free: 5.844 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004771/0.7207, allocations: 2.637 MB / 0.7807 GB, free: 3.195 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000415/0.7211, allocations: 238.4 kB / 0.781 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.613e-05/0.7212, allocations: 81.33 kB / 0.781 GB, free: 2.852 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=372): time 5.921e-06/0.7212, allocations: 0 / 0.781 GB, free: 2.852 MB / 0.5137 GB Notification: Performance of matching and sorting (n=380): time 0.03368/0.7549, allocations: 14.85 MB / 0.7955 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.293e-05/0.755, allocations: 93.77 kB / 0.7956 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006973/0.7619, allocations: 3.769 MB / 0.7993 GB, free: 92 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002811/0.7622, allocations: 93.59 kB / 0.7994 GB, free: 15.99 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003287/0.7655, allocations: 4.225 MB / 0.8035 GB, free: 11.77 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001326/0.7668, allocations: 1.363 MB / 0.8048 GB, free: 10.42 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002032/0.7688, allocations: 1.176 MB / 0.806 GB, free: 9.23 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.769, allocations: 301.1 kB / 0.8063 GB, free: 8.934 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004292/0.7733, allocations: 2.569 MB / 0.8088 GB, free: 6.359 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006365/0.7796, allocations: 5.053 MB / 0.8137 GB, free: 180 kB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0114/0.791, allocations: 8.262 MB / 0.8218 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.958e-05/0.7911, allocations: 24 kB / 0.8218 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of matching and sorting (n=768) (initialization): time 0.01567/0.8068, allocations: 8.623 MB / 0.8302 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.286e-05/0.8069, allocations: 40 kB / 0.8303 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001525/0.807, allocations: 84 kB / 0.8304 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002689/0.8097, allocations: 0.8659 MB / 0.8312 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004739/0.8144, allocations: 1.359 MB / 0.8325 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01344/0.8279, allocations: 9.039 MB / 0.8414 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004153/0.832, allocations: 330.3 kB / 0.8417 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007866/0.8328, allocations: 300 kB / 0.842 GB, free: 2.801 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 376 * 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 (720): * Single equations (assignments): 718 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (8,40,65.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006698/0.8395, allocations: 3.521 MB / 0.8454 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001134/0.8406, allocations: 433.2 kB / 0.8458 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01142/0.8521, allocations: 5.835 MB / 0.8515 GB, free: 9.102 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.355e-05/0.8521, allocations: 40 kB / 0.8515 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.061e-05/0.8521, allocations: 8 kB / 0.8516 GB, free: 9.055 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.7e-05/0.8522, allocations: 19.92 kB / 0.8516 GB, free: 9.035 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2538/1.106, allocations: 14.45 MB / 0.8657 GB, free: 220.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-05/1.106, allocations: 6.156 kB / 0.8657 GB, free: 220.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002461/1.108, allocations: 0.6651 MB / 0.8663 GB, free: 220.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001962/1.11, allocations: 0.7312 MB / 0.8671 GB, free: 220.9 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002197/1.111, allocations: 80.7 kB / 0.8671 GB, free: 220.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008111/1.119, allocations: 8.065 MB / 0.875 GB, free: 216.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/1.119, allocations: 7.875 kB / 0.875 GB, free: 216.3 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01058/1.129, allocations: 8.498 MB / 0.8833 GB, free: 212.9 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001827/1.131, allocations: 0.8954 MB / 0.8842 GB, free: 212.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004994/1.132, allocations: 68.48 kB / 0.8842 GB, free: 212.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00174/1.133, allocations: 182.1 kB / 0.8844 GB, free: 212.5 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004621/1.134, allocations: 255.6 kB / 0.8847 GB, free: 212.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002008/1.134, allocations: 115.7 kB / 0.8848 GB, free: 212.4 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003032/1.137, allocations: 2.521 MB / 0.8872 GB, free: 211.5 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/1.137, allocations: 0 / 0.8872 GB, free: 211.5 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.004792/1.142, allocations: 1.558 MB / 0.8888 GB, free: 211.3 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 2 (smpm.inertiaRotor.w,quadraticTorque.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 (362): * Single equations (assignments): 360 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (8,38,65.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004715/1.142, allocations: 245.4 kB / 0.889 GB, free: 211.1 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.008334/1.151, allocations: 6.301 MB / 0.8951 GB, free: 208.6 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/1.151, allocations: 5.469 kB / 0.8952 GB, free: 208.6 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003551/1.154, allocations: 2.757 MB / 0.8978 GB, free: 206.2 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004213/1.158, allocations: 0.9648 MB / 0.8988 GB, free: 205.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02257/1.181, allocations: 15.76 MB / 0.9142 GB, free: 191.1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004364/1.185, allocations: 5.794 MB / 0.9198 GB, free: 186.6 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001464/1.187, allocations: 384.3 kB / 0.9202 GB, free: 186.2 MB / 0.5919 GB Notification: Performance of SimCode: time 1.423e-06/1.187, allocations: 0.5469 kB / 0.9202 GB, free: 186.2 MB / 0.5919 GB Notification: Performance of Templates: time 0.4059/1.593, allocations: 206.6 MB / 1.122 GB, free: 189 MB / 0.5919 GB [Timeout remaining time 658] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMPM_CurrentSource.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMPM_CurrentSource.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMPM_CurrentSource.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMPM_CurrentSource.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMPM_CurrentSource.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMPM_CurrentSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMPM_CurrentSource.pipe 2>&1) [Timeout 480]