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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001482/0.001482, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 225.6 MB / 246.2 MB, free: 13.62 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001562/0.001562, allocations: 193.1 kB / 301.4 MB, free: 9.129 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04551/0.04551, allocations: 8.925 MB / 365.5 MB, free: 9.258 MB / 302.1 MB " [Timeout remaining time 180] 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.002382/0.002382, allocations: 86.58 kB / 489.4 MB, free: 10.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1063, allocations: 54.41 MB / 0.5311 GB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMPM_CurrentSource): time 0.0338/0.1401, allocations: 28.91 MB / 0.5593 GB, free: 1.684 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01803/0.1581, allocations: 8.489 MB / 0.5676 GB, free: 9.164 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005254/0.1634, allocations: 211.4 kB / 0.5678 GB, free: 8.957 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0202/0.1836, allocations: 8.247 MB / 0.5758 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01015/0.1937, allocations: 2.851 MB / 0.5786 GB, free: 13.83 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006164/0.1999, allocations: 1.886 MB / 0.5805 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0154/0.2153, allocations: 9.997 MB / 0.5902 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02566/0.2409, allocations: 13.17 MB / 0.6031 GB, free: 4.605 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01066/0.2516, allocations: 5.396 MB / 0.6084 GB, free: 15.2 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01221/0.2638, allocations: 6.097 MB / 0.6143 GB, free: 9.078 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004684/0.2685, allocations: 1.543 MB / 0.6158 GB, free: 7.535 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006142/0.2746, allocations: 1.894 MB / 0.6177 GB, free: 5.641 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005314/0.2799, allocations: 2.996 MB / 0.6206 GB, free: 2.637 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01211/0.2921, allocations: 5.852 MB / 0.6263 GB, free: 12.76 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2553/0.5474, allocations: 20.67 MB / 0.6465 GB, free: 38.18 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.5474, allocations: 0.5312 kB / 0.6465 GB, free: 38.18 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.5474, allocations: 0.8438 kB / 0.6465 GB, free: 38.18 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000523/0.5479, allocations: 0.5938 kB / 0.6465 GB, free: 38.18 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.03374/0.5816, allocations: 12.06 MB / 0.6583 GB, free: 34.77 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.5817, allocations: 9.594 kB / 0.6583 GB, free: 34.77 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03015/0.6118, allocations: 5.679 MB / 0.6638 GB, free: 32.84 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01237/0.6242, allocations: 6.327 MB / 0.67 GB, free: 30.85 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005139/0.6247, allocations: 0.7093 MB / 0.6707 GB, free: 30.53 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003583/0.6283, allocations: 0.9291 MB / 0.6716 GB, free: 30.22 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03104/0.6593, allocations: 15.08 MB / 0.6863 GB, free: 20.49 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000387/0.6597, allocations: 11.33 kB / 0.6863 GB, free: 20.48 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003657/0.6634, allocations: 394.6 kB / 0.6867 GB, free: 20.11 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004341/0.6638, allocations: 0.5194 MB / 0.6872 GB, free: 19.59 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02575/0.6895, allocations: 13.74 MB / 0.7006 GB, free: 5.828 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09027/0.7798, allocations: 47.44 MB / 0.747 GB, free: 6.07 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02554/0.8054, allocations: 28.42 MB / 0.7747 GB, free: 5.93 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005517/0.8109, allocations: 2.641 MB / 0.7773 GB, free: 3.277 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006006/0.8115, allocations: 237.4 kB / 0.7775 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001005/0.8116, allocations: 73.48 kB / 0.7776 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=372): time 7.934e-06/0.8116, allocations: 0 / 0.7776 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of matching and sorting (n=380): time 0.03807/0.8496, allocations: 14.86 MB / 0.7921 GB, free: 4.031 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.065e-05/0.8497, allocations: 94.38 kB / 0.7922 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008673/0.8584, allocations: 3.765 MB / 0.7959 GB, free: 176 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0009345/0.8593, allocations: 85.7 kB / 0.796 GB, free: 84 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003999/0.8633, allocations: 4.225 MB / 0.8001 GB, free: 11.85 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002048/0.8654, allocations: 1.371 MB / 0.8014 GB, free: 10.5 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003833/0.8692, allocations: 1.172 MB / 0.8026 GB, free: 9.312 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.8694, allocations: 309.1 kB / 0.8029 GB, free: 9.008 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005451/0.8748, allocations: 2.572 MB / 0.8054 GB, free: 6.434 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00786/0.8827, allocations: 5.052 MB / 0.8103 GB, free: 260 kB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0141/0.8968, allocations: 8.256 MB / 0.8184 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001331/0.8969, allocations: 28 kB / 0.8184 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of matching and sorting (n=768) (initialization): time 0.02203/0.919, allocations: 8.618 MB / 0.8268 GB, free: 15 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.000102/0.9191, allocations: 40 kB / 0.8269 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001533/0.9192, allocations: 84 kB / 0.8269 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002706/0.9219, allocations: 0.8665 MB / 0.8278 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00632/0.9282, allocations: 1.367 MB / 0.8291 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01543/0.9437, allocations: 9.033 MB / 0.8379 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005409/0.9491, allocations: 327.7 kB / 0.8382 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001156/0.9502, allocations: 308 kB / 0.8385 GB, free: 2.871 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.007429/0.9577, allocations: 3.511 MB / 0.842 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001332/0.959, allocations: 433.2 kB / 0.8424 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01266/0.9717, allocations: 5.839 MB / 0.8481 GB, free: 9.176 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.034e-05/0.9717, allocations: 40 kB / 0.8481 GB, free: 9.137 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.04e-05/0.9717, allocations: 8 kB / 0.8481 GB, free: 9.129 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.82e-05/0.9718, allocations: 23.92 kB / 0.8482 GB, free: 9.105 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3211/1.293, allocations: 14.45 MB / 0.8623 GB, free: 220.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.377e-05/1.293, allocations: 3.5 kB / 0.8623 GB, free: 220.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002611/1.295, allocations: 0.6637 MB / 0.8629 GB, free: 220.6 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001989/1.297, allocations: 0.7271 MB / 0.8636 GB, free: 220.6 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003804/1.298, allocations: 83.73 kB / 0.8637 GB, free: 220.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007968/1.306, allocations: 8.057 MB / 0.8716 GB, free: 216 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/1.306, allocations: 7.906 kB / 0.8716 GB, free: 216 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01075/1.317, allocations: 8.496 MB / 0.8799 GB, free: 212.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001694/1.318, allocations: 0.8973 MB / 0.8808 GB, free: 212.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005097/1.319, allocations: 75.73 kB / 0.8808 GB, free: 212.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001726/1.321, allocations: 177.2 kB / 0.881 GB, free: 212.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005206/1.321, allocations: 254.5 kB / 0.8812 GB, free: 212 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002121/1.321, allocations: 109.4 kB / 0.8813 GB, free: 212 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003175/1.324, allocations: 2.526 MB / 0.8838 GB, free: 211.1 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/1.324, allocations: 0 / 0.8838 GB, free: 211.1 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.005106/1.33, allocations: 1.559 MB / 0.8853 GB, free: 210.9 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.0005251/1.33, allocations: 244 kB / 0.8856 GB, free: 210.8 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.008864/1.339, allocations: 6.313 MB / 0.8917 GB, free: 208.4 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.989e-06/1.339, allocations: 0 / 0.8917 GB, free: 208.4 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0041/1.343, allocations: 2.752 MB / 0.8944 GB, free: 206.5 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007705/1.351, allocations: 0.9708 MB / 0.8954 GB, free: 205.7 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02623/1.377, allocations: 16.02 MB / 0.911 GB, free: 191.2 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004914/1.382, allocations: 5.966 MB / 0.9168 GB, free: 186.5 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004025/1.386, allocations: 1.868 MB / 0.9187 GB, free: 185.2 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008799/1.387, allocations: 347.1 kB / 0.919 GB, free: 184.9 MB / 0.5919 GB Notification: Performance of SimCode: time 1.693e-06/1.387, allocations: 0 / 0.919 GB, free: 184.9 MB / 0.5919 GB Notification: Performance of Templates: time 0.09263/1.479, allocations: 62.96 MB / 0.9805 GB, free: 122.4 MB / 0.5919 GB " [Timeout remaining time 659] 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] [Calling sys.exit(0), Time elapsed: 8.247105119749904]