Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package HanserModelica with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(HanserModelica.SynchronousMachines.SMEE_ShortCircuit1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1") translateModel(HanserModelica.SynchronousMachines.SMEE_ShortCircuit1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001598/0.001598, allocations: 172.8 kB / 16.11 MB, free: 5.551 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo): time 0.06771/0.06771, allocations: 8.768 MB / 25.64 MB, free: 3.762 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.43/1.43, allocations: 205.4 MB / 233.9 MB, free: 12.48 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008217/0.0008219, allocations: 87.56 kB / 284.4 MB, free: 14.32 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004968/0.0004969, allocations: 20 kB / 344.8 MB, free: 1.852 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/0.2512, allocations: 49.71 MB / 394.5 MB, free: 36.77 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3849/0.6362, allocations: 117.2 MB / 0.4998 GB, free: 102.1 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002775/0.6365, allocations: 80.91 kB / 0.4998 GB, free: 102.1 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3406/0.9771, allocations: 155.7 MB / 0.6519 GB, free: 7.684 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.795e-06/0.9771, allocations: 0 / 0.6519 GB, free: 7.684 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003796/0.9775, allocations: 87.94 kB / 0.652 GB, free: 7.598 MB / 426.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.01396/0.9915, allocations: 3.827 MB / 0.6557 GB, free: 3.695 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.9916, allocations: 8.031 kB / 0.6557 GB, free: 3.688 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005218/0.9968, allocations: 0.8743 MB / 0.6566 GB, free: 2.809 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.258/1.255, allocations: 2.943 MB / 0.6594 GB, free: 66.48 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005521/1.255, allocations: 280.4 kB / 0.6597 GB, free: 66.47 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001517/1.257, allocations: 370.2 kB / 0.6601 GB, free: 66.47 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00785/1.265, allocations: 4.639 MB / 0.6646 GB, free: 66.03 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.932e-05/1.265, allocations: 7.188 kB / 0.6646 GB, free: 66.03 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003159/1.265, allocations: 152 kB / 0.6647 GB, free: 66.03 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001116/1.265, allocations: 159 kB / 0.6649 GB, free: 66.02 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006052/1.271, allocations: 3.683 MB / 0.6685 GB, free: 65.99 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02392/1.295, allocations: 15.38 MB / 0.6835 GB, free: 62.73 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004822/1.3, allocations: 6.094 MB / 0.6895 GB, free: 58.38 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001905/1.302, allocations: 1.303 MB / 0.6907 GB, free: 58.36 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006472/1.309, allocations: 4.107 MB / 0.6947 GB, free: 57.32 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.513e-05/1.309, allocations: 48.03 kB / 0.6948 GB, free: 57.28 MB / 426.7 MB Notification: Performance of pre-optimization done (n=139): time 3.356e-06/1.309, allocations: 0 / 0.6948 GB, free: 57.28 MB / 426.7 MB Notification: Performance of matching and sorting (n=176): time 0.01236/1.321, allocations: 6.355 MB / 0.701 GB, free: 56.14 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/1.321, allocations: 67.75 kB / 0.701 GB, free: 56.08 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002877/1.324, allocations: 1.947 MB / 0.703 GB, free: 55.85 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001276/1.324, allocations: 60.52 kB / 0.703 GB, free: 55.82 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001133/1.325, allocations: 1.65 MB / 0.7046 GB, free: 55.17 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004966/1.326, allocations: 0.5957 MB / 0.7052 GB, free: 54.79 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/1.326, allocations: 44.38 kB / 0.7052 GB, free: 54.79 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001525/1.326, allocations: 390.5 kB / 0.7056 GB, free: 54.48 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001237/1.327, allocations: 0.7938 MB / 0.7064 GB, free: 54.48 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00164/1.329, allocations: 1.493 MB / 0.7079 GB, free: 53.6 MB / 426.7 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.01216/1.341, allocations: 5.521 MB / 0.7132 GB, free: 51.07 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.818e-05/1.341, allocations: 7.406 kB / 0.7132 GB, free: 51.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.004628/1.346, allocations: 2.876 MB / 0.7161 GB, free: 49.98 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.332e-05/1.346, allocations: 13.12 kB / 0.7161 GB, free: 49.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.172e-05/1.346, allocations: 27.03 kB / 0.7161 GB, free: 49.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008831/1.347, allocations: 366.2 kB / 0.7164 GB, free: 49.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001717/1.349, allocations: 0.4927 MB / 0.7169 GB, free: 49.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004602/1.353, allocations: 4.155 MB / 0.721 GB, free: 47.01 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001913/1.355, allocations: 86.81 kB / 0.7211 GB, free: 46.97 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001482/1.355, allocations: 101.8 kB / 0.7212 GB, free: 46.95 MB / 426.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: smee.is[1] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (253): * Single equations (assignments): 251 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 29} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00236/1.358, allocations: 1.089 MB / 0.7222 GB, free: 46.36 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000493/1.358, allocations: 236.6 kB / 0.7225 GB, free: 46.23 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003626/1.362, allocations: 2.192 MB / 0.7246 GB, free: 45.28 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.956e-05/1.362, allocations: 16.72 kB / 0.7246 GB, free: 45.28 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/1.362, allocations: 3.312 kB / 0.7246 GB, free: 45.28 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.243e-05/1.362, allocations: 17.25 kB / 0.7246 GB, free: 45.27 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008672/1.371, allocations: 5.476 MB / 0.73 GB, free: 42.78 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.618e-06/1.371, allocations: 3.688 kB / 0.73 GB, free: 42.78 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001229/1.372, allocations: 313.6 kB / 0.7303 GB, free: 42.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007741/1.373, allocations: 311.5 kB / 0.7306 GB, free: 42.67 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001/1.373, allocations: 43.22 kB / 0.7306 GB, free: 42.64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004423/1.377, allocations: 4.121 MB / 0.7346 GB, free: 39.8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/1.377, allocations: 6.188 kB / 0.7346 GB, free: 39.79 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00459/1.382, allocations: 3.315 MB / 0.7379 GB, free: 38.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00119/1.383, allocations: 480.8 kB / 0.7383 GB, free: 37.86 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002792/1.383, allocations: 37.42 kB / 0.7384 GB, free: 37.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009708/1.384, allocations: 66.09 kB / 0.7384 GB, free: 37.81 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003376/1.385, allocations: 130.1 kB / 0.7386 GB, free: 37.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.168e-05/1.385, allocations: 42.38 kB / 0.7386 GB, free: 37.78 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002046/1.387, allocations: 1.307 MB / 0.7399 GB, free: 37.24 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.41e-07/1.387, allocations: 0 / 0.7399 GB, free: 37.24 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002811/1.39, allocations: 0.6986 MB / 0.7406 GB, free: 37.16 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 5 (smee.phiMechanical,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,ground.p.i) * 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 (146): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 29} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006703/1.39, allocations: 369.5 kB / 0.7409 GB, free: 37.02 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003567/1.394, allocations: 2.388 MB / 0.7433 GB, free: 36 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/1.394, allocations: 0.6562 kB / 0.7433 GB, free: 36 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001582/1.396, allocations: 1.206 MB / 0.7444 GB, free: 35.47 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003401/1.399, allocations: 0.5563 MB / 0.745 GB, free: 35.32 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01165/1.411, allocations: 7.628 MB / 0.7524 GB, free: 31.11 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002002/1.413, allocations: 2.452 MB / 0.7548 GB, free: 30.02 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002226/1.415, allocations: 0.5131 MB / 0.7553 GB, free: 29.95 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003825/1.415, allocations: 153.7 kB / 0.7555 GB, free: 29.94 MB / 426.7 MB Notification: Performance of SimCode: time 7.01e-07/1.415, allocations: 0 / 0.7555 GB, free: 29.94 MB / 426.7 MB Notification: Performance of Templates: time 0.05651/1.472, allocations: 32.9 MB / 0.7876 GB, free: 11.67 MB / 426.7 MB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.makefile (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.pipe 2>&1)