Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/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) 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.SMEE_ShortCircuit3,tolerance=1e-08,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3") translateModel(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3,tolerance=1e-08,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 107.7 kB / 15.99 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 222.9 MB / 239.6 MB, free: 4.75 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 192.5 kB / 289.9 MB, free: 2.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03571/0.03571, allocations: 8.784 MB / 348.9 MB, free: 4.871 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001565/0.001565, allocations: 77.34 kB / 411.2 MB, free: 42.36 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08937/0.09096, allocations: 51.57 MB / 462.8 MB, free: 14.8 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3): time 0.01838/0.1094, allocations: 15.73 MB / 478.5 MB, free: 14.98 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01071/0.1202, allocations: 5.224 MB / 483.8 MB, free: 9.734 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003784/0.124, allocations: 91.69 kB / 483.9 MB, free: 9.645 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00453/0.1286, allocations: 1.073 MB / 484.9 MB, free: 8.57 MB / 318.1 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.00564/0.1343, allocations: 1.364 MB / 486.3 MB, free: 7.199 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003031/0.1373, allocations: 0.9003 MB / 487.2 MB, free: 6.301 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.007609/0.1449, allocations: 4.708 MB / 491.9 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00674/0.1517, allocations: 3.477 MB / 495.4 MB, free: 14.03 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003962/0.1557, allocations: 1.954 MB / 497.3 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004353/0.1601, allocations: 2.308 MB / 499.6 MB, free: 9.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001982/0.1621, allocations: 0.5547 MB / 0.4885 GB, free: 9.195 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002989/0.1652, allocations: 0.7732 MB / 0.4892 GB, free: 8.422 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002115/0.1673, allocations: 1.231 MB / 0.4904 GB, free: 7.188 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005243/0.1726, allocations: 2.373 MB / 0.4927 GB, free: 4.805 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007946/0.1806, allocations: 6.189 MB / 0.4988 GB, free: 14.6 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/0.1806, allocations: 0 / 0.4988 GB, free: 14.6 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.1806, allocations: 0 / 0.4988 GB, free: 14.6 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002557/0.1809, allocations: 0 / 0.4988 GB, free: 14.6 MB / 350.1 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.01427/0.1952, allocations: 4.818 MB / 0.5035 GB, free: 9.711 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.1952, allocations: 16.02 kB / 0.5035 GB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005876/0.2011, allocations: 0.9368 MB / 0.5044 GB, free: 8.754 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005711/0.2069, allocations: 2.566 MB / 0.5069 GB, free: 6.133 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002969/0.2072, allocations: 283.7 kB / 0.5072 GB, free: 5.855 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001181/0.2084, allocations: 368 kB / 0.5076 GB, free: 5.496 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01143/0.2198, allocations: 4.684 MB / 0.5121 GB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001045/0.22, allocations: 7.938 kB / 0.5121 GB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004843/0.2205, allocations: 152 kB / 0.5123 GB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001658/0.2207, allocations: 151.3 kB / 0.5124 GB, free: 468 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007599/0.2283, allocations: 3.901 MB / 0.5162 GB, free: 12.55 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2001/0.4284, allocations: 15.56 MB / 0.5314 GB, free: 57.86 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005101/0.4336, allocations: 6.055 MB / 0.5373 GB, free: 53.49 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002433/0.4361, allocations: 1.382 MB / 0.5387 GB, free: 53.47 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007444/0.4435, allocations: 4.231 MB / 0.5428 GB, free: 52.41 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.204e-05/0.4436, allocations: 50.98 kB / 0.5429 GB, free: 52.38 MB / 366.1 MB Notification: Performance of pre-optimization done (n=133): time 4.278e-06/0.4436, allocations: 0 / 0.5429 GB, free: 52.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=137): time 0.01007/0.4537, allocations: 5.175 MB / 0.5479 GB, free: 50.96 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/0.4538, allocations: 65.5 kB / 0.548 GB, free: 50.9 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003777/0.4576, allocations: 2.015 MB / 0.55 GB, free: 50.65 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002142/0.4578, allocations: 53.64 kB / 0.55 GB, free: 50.62 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009407/0.4588, allocations: 1.663 MB / 0.5516 GB, free: 49.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004168/0.4592, allocations: 483.8 kB / 0.5521 GB, free: 49.21 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005288/0.4597, allocations: 360.9 kB / 0.5524 GB, free: 49.03 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.093e-05/0.4598, allocations: 302.5 kB / 0.5527 GB, free: 48.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001027/0.4608, allocations: 0.6638 MB / 0.5534 GB, free: 48.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00153/0.4624, allocations: 1.386 MB / 0.5547 GB, free: 47.31 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002352/0.4647, allocations: 2.201 MB / 0.5569 GB, free: 45.72 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-05/0.4648, allocations: 3.969 kB / 0.5569 GB, free: 45.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.003797/0.4686, allocations: 2.48 MB / 0.5593 GB, free: 44.61 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.527e-05/0.4686, allocations: 19.75 kB / 0.5593 GB, free: 44.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.741e-05/0.4687, allocations: 23.62 kB / 0.5593 GB, free: 44.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003663/0.4691, allocations: 154.1 kB / 0.5595 GB, free: 44.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00151/0.4706, allocations: 456.1 kB / 0.5599 GB, free: 44.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001658/0.4723, allocations: 2.121 MB / 0.562 GB, free: 42.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001895/0.4742, allocations: 80.36 kB / 0.5621 GB, free: 42.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000208/0.4744, allocations: 95.09 kB / 0.5622 GB, free: 42.63 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 106 * 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 (242): * Single equations (assignments): 240 * 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 {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002002/0.4764, allocations: 1.07 MB / 0.5632 GB, free: 41.92 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006505/0.4771, allocations: 217.3 kB / 0.5634 GB, free: 41.8 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003473/0.4805, allocations: 2.022 MB / 0.5654 GB, free: 40.53 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.119e-05/0.4806, allocations: 11.75 kB / 0.5654 GB, free: 40.53 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-05/0.4806, allocations: 3.938 kB / 0.5654 GB, free: 40.53 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.537e-05/0.4806, allocations: 8.781 kB / 0.5654 GB, free: 40.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008954/0.4896, allocations: 4.954 MB / 0.5703 GB, free: 37.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.134e-05/0.4896, allocations: 3.391 kB / 0.5703 GB, free: 37.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008862/0.4905, allocations: 218.7 kB / 0.5705 GB, free: 37.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008804/0.4914, allocations: 328.4 kB / 0.5708 GB, free: 37.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00012/0.4916, allocations: 33.58 kB / 0.5708 GB, free: 37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005537/0.4971, allocations: 7.146 MB / 0.5778 GB, free: 30.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.4972, allocations: 7.688 kB / 0.5778 GB, free: 30.65 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004164/0.5013, allocations: 2.902 MB / 0.5806 GB, free: 27.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001075/0.5025, allocations: 446.3 kB / 0.5811 GB, free: 27.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006004/0.5031, allocations: 28 kB / 0.5811 GB, free: 27.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001359/0.5044, allocations: 51.97 kB / 0.5811 GB, free: 27.24 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002878/0.5048, allocations: 105.1 kB / 0.5812 GB, free: 27.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.926e-05/0.5049, allocations: 42.61 kB / 0.5813 GB, free: 27.09 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00216/0.507, allocations: 1.37 MB / 0.5826 GB, free: 25.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.507, allocations: 384 / 0.5826 GB, free: 25.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002413/0.5095, allocations: 0.5977 MB / 0.5832 GB, free: 25.11 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (smee.phiMechanical,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].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 (106): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,8,100.0%), (1,8,100.0%), (2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003484/0.5098, allocations: 169.1 kB / 0.5834 GB, free: 24.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004171/0.514, allocations: 2.263 MB / 0.5856 GB, free: 22.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.514, allocations: 0 / 0.5856 GB, free: 22.66 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001634/0.5157, allocations: 1.215 MB / 0.5868 GB, free: 21.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003361/0.5191, allocations: 0.5701 MB / 0.5873 GB, free: 20.87 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01183/0.5309, allocations: 7.501 MB / 0.5946 GB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00224/0.5332, allocations: 2.349 MB / 0.5969 GB, free: 10.95 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007225/0.5339, allocations: 151.4 kB / 0.5971 GB, free: 10.8 MB / 366.1 MB Notification: Performance of SimCode: time 9.32e-07/0.534, allocations: 1.641 kB / 0.5971 GB, free: 10.8 MB / 366.1 MB Notification: Performance of Templates: time 0.09858/0.6325, allocations: 84.78 MB / 0.6799 GB, free: 6.074 MB / 446.1 MB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.makefile (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.pipe 2>&1)