Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 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) Running command: translateModel(HanserModelica.SynchronousMachines.SMEE_ShortCircuit2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2") translateModel(HanserModelica.SynchronousMachines.SMEE_ShortCircuit2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03638/0.03638, allocations: 8.795 MB / 25.53 MB, free: 3.754 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.283/1.283, allocations: 222.9 MB / 251.3 MB, free: 7.371 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000922/0.0009221, allocations: 101.9 kB / 303.6 MB, free: 14.5 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 71.88 kB / 366 MB, free: 176 kB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.1778, allocations: 51.57 MB / 417.5 MB, free: 20.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit2): time 0.01101/0.1888, allocations: 15.73 MB / 433.3 MB, free: 5.102 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007841/0.1967, allocations: 5.24 MB / 438.5 MB, free: 15.84 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00247/0.1992, allocations: 87.69 kB / 438.6 MB, free: 15.75 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003165/0.2024, allocations: 1.073 MB / 439.7 MB, free: 14.68 MB / 314.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/SynchronousMachines/Templates/SMEE_ShortCircuit.mo:18:3-19:30:writable] Warning: Conditional component ‘ir‘ is used in a non-connect context. Notification: Performance of NFTyping.typeBindings: time 0.004319/0.2068, allocations: 1.388 MB / 441.1 MB, free: 13.29 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002185/0.209, allocations: 0.908 MB / 442 MB, free: 12.38 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005639/0.2146, allocations: 4.877 MB / 446.8 MB, free: 7.488 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003822/0.2185, allocations: 2.894 MB / 449.7 MB, free: 4.523 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002377/0.2209, allocations: 1.677 MB / 451.4 MB, free: 2.84 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002708/0.2236, allocations: 2.148 MB / 453.6 MB, free: 0.6836 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006243/0.2243, allocations: 336 kB / 453.9 MB, free: 364 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001324/0.2256, allocations: 0.5427 MB / 454.4 MB, free: 15.81 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007853/0.2264, allocations: 0.9926 MB / 455.4 MB, free: 14.82 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002225/0.2286, allocations: 2.127 MB / 457.6 MB, free: 12.68 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006224/0.2349, allocations: 7.072 MB / 464.6 MB, free: 5.582 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.2349, allocations: 0 / 464.6 MB, free: 5.582 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2349, allocations: 4 kB / 464.6 MB, free: 5.578 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001516/0.2351, allocations: 0 / 464.6 MB, free: 5.578 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: 962 * Number of variables: 962 Notification: Performance of Generate backend data structure: time 0.01192/0.247, allocations: 4.81 MB / 469.4 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.2471, allocations: 12.03 kB / 469.5 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004757/0.2518, allocations: 0.9407 MB / 470.4 MB, free: 15.74 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005196/0.257, allocations: 2.562 MB / 473 MB, free: 13.12 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001859/0.2572, allocations: 275.7 kB / 473.2 MB, free: 12.85 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000624/0.2579, allocations: 372 kB / 473.6 MB, free: 12.49 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008303/0.2662, allocations: 4.684 MB / 478.3 MB, free: 7.754 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.321e-05/0.2663, allocations: 3.984 kB / 478.3 MB, free: 7.75 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003227/0.2666, allocations: 148 kB / 478.4 MB, free: 7.605 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001451/0.2668, allocations: 155.2 kB / 478.6 MB, free: 7.453 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006621/0.2734, allocations: 3.901 MB / 482.5 MB, free: 3.547 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02157/0.295, allocations: 15.54 MB / 498 MB, free: 3.551 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1648/0.4598, allocations: 6.135 MB / 0.4923 GB, free: 64.14 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002808/0.4627, allocations: 1.411 MB / 0.4937 GB, free: 64.12 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007075/0.4698, allocations: 4.275 MB / 0.4979 GB, free: 61.68 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.4698, allocations: 44.09 kB / 0.4979 GB, free: 61.63 MB / 362.7 MB Notification: Performance of pre-optimization done (n=125): time 3.507e-06/0.4698, allocations: 2.297 kB / 0.4979 GB, free: 61.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=156): time 0.01411/0.4839, allocations: 6.179 MB / 0.504 GB, free: 58.89 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.859e-05/0.484, allocations: 67.84 kB / 0.504 GB, free: 58.83 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003016/0.487, allocations: 2.095 MB / 0.5061 GB, free: 57.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001109/0.4872, allocations: 56.86 kB / 0.5061 GB, free: 57.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007003/0.4879, allocations: 1.701 MB / 0.5078 GB, free: 56.63 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002735/0.4882, allocations: 0.5385 MB / 0.5083 GB, free: 56.21 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004567/0.4886, allocations: 403.6 kB / 0.5087 GB, free: 56.01 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 3.355e-05/0.4887, allocations: 301.1 kB / 0.509 GB, free: 55.71 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009634/0.4896, allocations: 0.7779 MB / 0.5097 GB, free: 55.41 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001249/0.4909, allocations: 1.551 MB / 0.5113 GB, free: 54.1 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01093/0.5018, allocations: 4.829 MB / 0.516 GB, free: 51.22 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.518e-05/0.5019, allocations: 7.094 kB / 0.516 GB, free: 51.22 MB / 362.7 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.003806/0.5057, allocations: 2.886 MB / 0.5188 GB, free: 49.12 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.557e-05/0.5057, allocations: 19.98 kB / 0.5188 GB, free: 49.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.129e-05/0.5058, allocations: 24 kB / 0.5188 GB, free: 49.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008784/0.5067, allocations: 366.2 kB / 0.5192 GB, free: 48.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001397/0.5081, allocations: 489.6 kB / 0.5197 GB, free: 48.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003612/0.5117, allocations: 3.832 MB / 0.5234 GB, free: 44.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001592/0.5133, allocations: 91.88 kB / 0.5235 GB, free: 44.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001202/0.5134, allocations: 100 kB / 0.5236 GB, free: 44.1 MB / 362.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: smee.is[1] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 112 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (256): * Single equations (assignments): 254 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {(4,23,68.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001397/0.5148, allocations: 1.098 MB / 0.5247 GB, free: 42.99 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003003/0.5151, allocations: 225.2 kB / 0.5249 GB, free: 42.77 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003436/0.5186, allocations: 1.998 MB / 0.5268 GB, free: 40.76 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/0.5186, allocations: 12 kB / 0.5268 GB, free: 40.75 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.5186, allocations: 8 kB / 0.5268 GB, free: 40.74 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/0.5186, allocations: 11.81 kB / 0.5269 GB, free: 40.73 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00732/0.526, allocations: 5.503 MB / 0.5322 GB, free: 35.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/0.526, allocations: 4 kB / 0.5322 GB, free: 35.15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001007/0.527, allocations: 268 kB / 0.5325 GB, free: 34.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007157/0.5277, allocations: 298.2 kB / 0.5328 GB, free: 34.6 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.529e-05/0.5278, allocations: 38.17 kB / 0.5328 GB, free: 34.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003313/0.5312, allocations: 3.582 MB / 0.5363 GB, free: 30.85 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.5312, allocations: 9.734 kB / 0.5363 GB, free: 30.84 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02279/0.554, allocations: 17.53 MB / 0.5534 GB, free: 13 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008098/0.5548, allocations: 474.1 kB / 0.5539 GB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002409/0.5551, allocations: 35.94 kB / 0.5539 GB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009609/0.5561, allocations: 59.97 kB / 0.554 GB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002144/0.5563, allocations: 113 kB / 0.5541 GB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.742e-05/0.5564, allocations: 47.98 kB / 0.5541 GB, free: 12.27 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001565/0.5579, allocations: 1.403 MB / 0.5555 GB, free: 10.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.5579, allocations: 8 kB / 0.5555 GB, free: 10.84 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002575/0.5605, allocations: 0.875 MB / 0.5564 GB, free: 9.961 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 5 (smee.phiMechanical,smee.is[2],smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.excitation.electroMagneticConverter.Phi.re) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (132): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,22,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002813/0.5608, allocations: 165.1 kB / 0.5565 GB, free: 9.801 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002922/0.5638, allocations: 2.288 MB / 0.5588 GB, free: 7.484 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.5638, allocations: 4 kB / 0.5588 GB, free: 7.48 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001371/0.5652, allocations: 1.083 MB / 0.5598 GB, free: 6.383 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002358/0.5675, allocations: 0.551 MB / 0.5604 GB, free: 5.848 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01026/0.5778, allocations: 8.963 MB / 0.5691 GB, free: 12.82 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002164/0.58, allocations: 2.479 MB / 0.5715 GB, free: 10.3 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001856/0.5819, allocations: 0.5035 MB / 0.572 GB, free: 9.797 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004426/0.5823, allocations: 163.4 kB / 0.5722 GB, free: 9.637 MB / 378.7 MB Notification: Performance of SimCode: time 5.21e-07/0.5823, allocations: 0 / 0.5722 GB, free: 9.637 MB / 378.7 MB Notification: Performance of Templates: time 0.05656/0.6389, allocations: 35.6 MB / 0.6069 GB, free: 6.371 MB / 410.7 MB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.makefile (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.pipe 2>&1)