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: "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004856/0.004856, allocations: 170.5 kB / 15.11 MB, free: 5.578 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03969/0.03969, allocations: 8.798 MB / 24.65 MB, free: 4.129 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.336/1.336, allocations: 223.2 MB / 250.7 MB, free: 6.488 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.00103/0.00103, allocations: 103.8 kB / 304 MB, free: 4.004 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004211/0.000421, allocations: 15.98 kB / 367.2 MB, free: 4.852 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.3186, allocations: 52.54 MB / 419.7 MB, free: 48.08 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1357/0.4544, allocations: 117.1 MB / 0.5242 GB, free: 3.93 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003059/0.4548, allocations: 81 kB / 0.5243 GB, free: 3.852 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5783/1.033, allocations: 156 MB / 0.6766 GB, free: 26.93 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.906e-06/1.033, allocations: 0 / 0.6766 GB, free: 26.93 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003579/1.034, allocations: 91.81 kB / 0.6767 GB, free: 26.84 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.01111/1.045, allocations: 3.886 MB / 0.6805 GB, free: 22.88 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/1.045, allocations: 12.56 kB / 0.6805 GB, free: 22.87 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001909/1.047, allocations: 0.5528 MB / 0.681 GB, free: 22.31 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004887/1.052, allocations: 0.8695 MB / 0.6819 GB, free: 21.43 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009135/1.061, allocations: 3.567 MB / 0.6854 GB, free: 17.81 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002559/1.061, allocations: 271.4 kB / 0.6856 GB, free: 17.54 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001309/1.062, allocations: 379.8 kB / 0.686 GB, free: 17.17 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0099/1.072, allocations: 4.604 MB / 0.6905 GB, free: 12.44 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001264/1.072, allocations: 3.906 kB / 0.6905 GB, free: 12.43 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005937/1.073, allocations: 163.9 kB / 0.6906 GB, free: 12.27 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001253/1.073, allocations: 151.3 kB / 0.6908 GB, free: 12.12 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006415/1.08, allocations: 3.656 MB / 0.6943 GB, free: 8.465 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02798/1.108, allocations: 15.59 MB / 0.7096 GB, free: 8.398 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007566/1.115, allocations: 6.201 MB / 0.7156 GB, free: 1.43 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009797/1.125, allocations: 4.184 MB / 0.7197 GB, free: 13.09 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.678e-05/1.125, allocations: 59.75 kB / 0.7198 GB, free: 13.02 MB / 458.7 MB Notification: Performance of pre-optimization done (n=143): time 4.739e-06/1.125, allocations: 0 / 0.7198 GB, free: 13.02 MB / 458.7 MB Notification: Performance of matching and sorting (n=148): time 0.01248/1.138, allocations: 5.413 MB / 0.7251 GB, free: 7.473 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.501e-05/1.138, allocations: 64.72 kB / 0.7251 GB, free: 7.398 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004272/1.142, allocations: 1.716 MB / 0.7268 GB, free: 5.648 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001209/1.142, allocations: 49.7 kB / 0.7268 GB, free: 5.594 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001528/1.144, allocations: 1.641 MB / 0.7284 GB, free: 3.93 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005117/1.144, allocations: 0.5084 MB / 0.7289 GB, free: 3.414 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/1.144, allocations: 47.94 kB / 0.729 GB, free: 3.367 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002024/1.145, allocations: 385.9 kB / 0.7294 GB, free: 2.984 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001263/1.146, allocations: 0.6676 MB / 0.73 GB, free: 2.316 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001743/1.148, allocations: 1.342 MB / 0.7313 GB, free: 0.6719 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2492/1.397, allocations: 0.9272 MB / 0.7322 GB, free: 75.73 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.509e-05/1.397, allocations: 6.406 kB / 0.7322 GB, free: 75.73 MB / 458.7 MB Notification: Performance of matching and sorting (n=254) (initialization): time 0.004686/1.402, allocations: 2.519 MB / 0.7347 GB, free: 75.56 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.521e-05/1.402, allocations: 17.75 kB / 0.7347 GB, free: 75.56 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.559e-05/1.402, allocations: 25.22 kB / 0.7347 GB, free: 75.56 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004083/1.402, allocations: 188.3 kB / 0.7349 GB, free: 75.55 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001491/1.404, allocations: 459.7 kB / 0.7353 GB, free: 75.55 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001793/1.406, allocations: 2.312 MB / 0.7376 GB, free: 74.23 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001658/1.407, allocations: 80.64 kB / 0.7377 GB, free: 74.23 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001276/1.407, allocations: 91.8 kB / 0.7378 GB, free: 74.22 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * 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 (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%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001903/1.409, allocations: 1.057 MB / 0.7388 GB, free: 74.11 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004494/1.41, allocations: 216.8 kB / 0.739 GB, free: 74.11 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003155/1.413, allocations: 2.134 MB / 0.7411 GB, free: 73.79 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/1.413, allocations: 16.78 kB / 0.7411 GB, free: 73.79 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/1.413, allocations: 7.562 kB / 0.7411 GB, free: 73.79 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/1.413, allocations: 9.797 kB / 0.7411 GB, free: 73.79 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007768/1.421, allocations: 5.192 MB / 0.7462 GB, free: 73.08 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/1.421, allocations: 7.375 kB / 0.7462 GB, free: 73.08 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009235/1.422, allocations: 226.7 kB / 0.7464 GB, free: 73.08 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008308/1.423, allocations: 329.2 kB / 0.7467 GB, free: 73.06 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.499e-05/1.423, allocations: 40.14 kB / 0.7468 GB, free: 73.06 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005603/1.428, allocations: 6.609 MB / 0.7532 GB, free: 69.09 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/1.428, allocations: 8.766 kB / 0.7532 GB, free: 69.09 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004535/1.433, allocations: 3.215 MB / 0.7564 GB, free: 68.32 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001323/1.434, allocations: 444.5 kB / 0.7568 GB, free: 68.11 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002985/1.434, allocations: 36.94 kB / 0.7568 GB, free: 68.11 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009266/1.435, allocations: 59.73 kB / 0.7569 GB, free: 68.11 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002256/1.436, allocations: 114.4 kB / 0.757 GB, free: 68.11 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.22e-05/1.436, allocations: 41.81 kB / 0.757 GB, free: 68.11 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001755/1.438, allocations: 1.297 MB / 0.7583 GB, free: 67.96 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.7e-07/1.438, allocations: 0 / 0.7583 GB, free: 67.96 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002579/1.44, allocations: 0.6567 MB / 0.7589 GB, free: 67.96 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 113 * 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.005659/1.446, allocations: 4.695 MB / 0.7635 GB, free: 65.92 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003634/1.449, allocations: 1.937 MB / 0.7654 GB, free: 65.67 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.062e-06/1.449, allocations: 1.281 kB / 0.7654 GB, free: 65.67 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002218/1.452, allocations: 1.267 MB / 0.7667 GB, free: 65.3 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003245/1.455, allocations: 0.5375 MB / 0.7672 GB, free: 65.29 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03467/1.49, allocations: 32.04 MB / 0.7985 GB, free: 43.43 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003883/1.494, allocations: 2.474 MB / 0.8009 GB, free: 42.64 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002271/1.496, allocations: 473 kB / 0.8013 GB, free: 42.57 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002001/1.498, allocations: 1.288 MB / 0.8026 GB, free: 42.57 MB / 458.7 MB Notification: Performance of SimCode: time 9.52e-07/1.498, allocations: 0 / 0.8026 GB, free: 42.57 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08866/1.587, allocations: 54.79 MB / 0.8561 GB, free: 31.75 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001542/1.587, allocations: 219.5 kB / 0.8563 GB, free: 31.5 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.476/5.063, allocations: 0 / 0.8563 GB, free: 31.5 MB / 458.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit3_fmu --startTime=0 --stopTime=0.5 --timeout=50 --tolerance=1e-08 HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit3.fmu > HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.pipe 2>&1)