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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 169.2 kB / 7.64 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.05253/0.05253, allocations: 8.719 MB / 16.79 MB, free: 3.375 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 221.5 MB / 240.9 MB, free: 13.19 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.001009/0.001009, allocations: 89.47 kB / 293.9 MB, free: 7.238 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.775e-05/1.778e-05, allocations: 4 kB / 352.6 MB, free: 1.246 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.123, allocations: 52.54 MB / 405.2 MB, free: 12.65 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4237/0.5467, allocations: 116.3 MB / 0.5093 GB, free: 3.621 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002509/0.5471, allocations: 75.97 kB / 0.5094 GB, free: 3.547 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6371/1.184, allocations: 153.9 MB / 0.6597 GB, free: 66.46 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.704e-06/1.184, allocations: 0 / 0.6597 GB, free: 66.46 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003735/1.185, allocations: 83.91 kB / 0.6598 GB, free: 66.45 MB / 442.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.01149/1.196, allocations: 3.487 MB / 0.6632 GB, free: 64.17 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/1.196, allocations: 14.42 kB / 0.6632 GB, free: 64.16 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005676/1.202, allocations: 0.8641 MB / 0.664 GB, free: 63.75 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008626/1.211, allocations: 3.539 MB / 0.6675 GB, free: 61.4 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001368/1.211, allocations: 120 kB / 0.6676 GB, free: 61.4 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006957/1.211, allocations: 216.8 kB / 0.6678 GB, free: 61.39 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006715/1.218, allocations: 3.357 MB / 0.6711 GB, free: 59.71 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007174/1.225, allocations: 3.996 MB / 0.675 GB, free: 57.36 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.66e-05/1.225, allocations: 11.86 kB / 0.675 GB, free: 57.35 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002858/1.226, allocations: 3.406 kB / 0.675 GB, free: 57.35 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001363/1.226, allocations: 152.8 kB / 0.6752 GB, free: 57.33 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.022/1.248, allocations: 14.95 MB / 0.6898 GB, free: 45.78 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004251/1.252, allocations: 6.034 MB / 0.6957 GB, free: 38.99 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001675/1.254, allocations: 1.287 MB / 0.6969 GB, free: 37.72 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005701/1.26, allocations: 3.968 MB / 0.7008 GB, free: 33.62 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.531e-05/1.26, allocations: 51.88 kB / 0.7008 GB, free: 33.57 MB / 442.7 MB Notification: Performance of pre-optimization done (n=127): time 3.016e-06/1.26, allocations: 3.938 kB / 0.7008 GB, free: 33.56 MB / 442.7 MB Notification: Performance of matching and sorting (n=131): time 0.007025/1.267, allocations: 4.058 MB / 0.7048 GB, free: 29.4 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.511e-05/1.267, allocations: 64.72 kB / 0.7049 GB, free: 29.33 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001803/1.269, allocations: 1.369 MB / 0.7062 GB, free: 27.96 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.094e-05/1.269, allocations: 25.7 kB / 0.7062 GB, free: 27.93 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006892/1.269, allocations: 1.677 MB / 0.7079 GB, free: 26.23 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002271/1.27, allocations: 449.4 kB / 0.7083 GB, free: 25.79 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.79e-05/1.27, allocations: 0 / 0.7083 GB, free: 25.79 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001231/1.27, allocations: 381.9 kB / 0.7087 GB, free: 25.41 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007065/1.271, allocations: 0.5701 MB / 0.7092 GB, free: 24.84 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009873/1.272, allocations: 1.249 MB / 0.7104 GB, free: 23.27 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001416/1.273, allocations: 0.9781 MB / 0.7114 GB, free: 22.29 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.197e-06/1.273, allocations: 4 kB / 0.7114 GB, free: 22.29 MB / 442.7 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.003119/1.276, allocations: 2.257 MB / 0.7136 GB, free: 20 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.6e-05/1.276, allocations: 16 kB / 0.7136 GB, free: 19.98 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.272e-05/1.276, allocations: 27.98 kB / 0.7136 GB, free: 19.95 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003121/1.276, allocations: 141.6 kB / 0.7138 GB, free: 19.81 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001353/1.278, allocations: 443.4 kB / 0.7142 GB, free: 19.38 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001375/1.279, allocations: 1.923 MB / 0.7161 GB, free: 17.33 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001344/1.281, allocations: 47.84 kB / 0.7161 GB, free: 17.29 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000113/1.281, allocations: 92 kB / 0.7162 GB, free: 17.2 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 102 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (232): * Single equations (assignments): 230 * 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 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000234/1.281, allocations: 164.3 kB / 0.7164 GB, free: 17.03 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002052/1.281, allocations: 189.7 kB / 0.7165 GB, free: 16.84 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002974/1.284, allocations: 1.905 MB / 0.7184 GB, free: 14.88 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/1.284, allocations: 19.98 kB / 0.7184 GB, free: 14.86 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/1.284, allocations: 4 kB / 0.7184 GB, free: 14.86 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.203e-05/1.284, allocations: 7.969 kB / 0.7184 GB, free: 14.85 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006642/1.291, allocations: 4.331 MB / 0.7227 GB, free: 10.43 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/1.291, allocations: 0 / 0.7227 GB, free: 10.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007625/1.292, allocations: 196 kB / 0.7229 GB, free: 10.24 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007077/1.292, allocations: 306.3 kB / 0.7231 GB, free: 9.93 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.857e-05/1.292, allocations: 15.98 kB / 0.7232 GB, free: 9.914 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004424/1.297, allocations: 6.224 MB / 0.7292 GB, free: 3.348 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/1.297, allocations: 4.078 kB / 0.7292 GB, free: 3.344 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003464/1.3, allocations: 2.849 MB / 0.732 GB, free: 368 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007923/1.301, allocations: 394.7 kB / 0.7324 GB, free: 15.95 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002172/1.301, allocations: 11.94 kB / 0.7324 GB, free: 15.94 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007804/1.302, allocations: 35.97 kB / 0.7324 GB, free: 15.91 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001905/1.302, allocations: 101.1 kB / 0.7325 GB, free: 15.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.355e-05/1.302, allocations: 36 kB / 0.7326 GB, free: 15.77 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001555/1.304, allocations: 1.005 MB / 0.7336 GB, free: 14.77 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.9e-07/1.304, allocations: 0 / 0.7336 GB, free: 14.77 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002564/1.307, allocations: 0.543 MB / 0.7341 GB, free: 14.23 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 6 (smee.phiMechanical,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.excitation.electroMagneticConverter.Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 96 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 8,(1,100.0%) 8,(2,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005886/1.307, allocations: 339.8 kB / 0.7344 GB, free: 13.92 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00269/1.31, allocations: 1.653 MB / 0.736 GB, free: 12.24 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/1.31, allocations: 0 / 0.736 GB, free: 12.24 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001589/1.312, allocations: 1.114 MB / 0.7371 GB, free: 11.1 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002283/1.314, allocations: 409.8 kB / 0.7375 GB, free: 10.7 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01016/1.324, allocations: 4.633 MB / 0.742 GB, free: 5.992 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002309/1.326, allocations: 2.459 MB / 0.7444 GB, free: 3.5 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001848/1.328, allocations: 432.5 kB / 0.7448 GB, free: 3.074 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003277/1.329, allocations: 119.4 kB / 0.745 GB, free: 2.957 MB / 458.7 MB Notification: Performance of SimCode: time 7.12e-07/1.329, allocations: 0 / 0.745 GB, free: 2.957 MB / 458.7 MB Notification: Performance of Templates: time 0.341/1.67, allocations: 22.57 MB / 0.767 GB, free: 83.42 MB / 458.7 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)