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: "" <> 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007577/0.0007578, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.303/1.303, allocations: 223.3 MB / 239.4 MB, free: 5.473 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.00097/0.0009701, allocations: 180.5 kB / 290.6 MB, free: 2.152 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03264/0.03264, allocations: 8.8 MB / 350.5 MB, free: 4.574 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003603/0.0003606, allocations: 15.17 kB / 413.9 MB, free: 42.75 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07105/0.07143, allocations: 52.56 MB / 466.5 MB, free: 13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3): time 0.01464/0.08611, allocations: 15.01 MB / 481.5 MB, free: 13.91 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007699/0.09383, allocations: 5.174 MB / 486.7 MB, free: 8.719 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001053/0.0949, allocations: 91.62 kB / 486.8 MB, free: 8.629 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002169/0.09708, allocations: 1.069 MB / 487.8 MB, free: 7.559 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.002772/0.09986, allocations: 1.378 MB / 489.2 MB, free: 6.176 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001662/0.1015, allocations: 0.9007 MB / 490.1 MB, free: 5.277 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004429/0.106, allocations: 4.822 MB / 494.9 MB, free: 448 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003288/0.1093, allocations: 2.859 MB / 497.8 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001581/0.1109, allocations: 1.451 MB / 499.2 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001899/0.1128, allocations: 1.87 MB / 0.4894 GB, free: 10.17 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003409/0.1131, allocations: 232 kB / 0.4896 GB, free: 9.945 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008839/0.114, allocations: 463.6 kB / 0.49 GB, free: 9.492 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006957/0.1147, allocations: 0.8404 MB / 0.4908 GB, free: 8.648 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001685/0.1164, allocations: 1.972 MB / 0.4928 GB, free: 6.66 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005518/0.1219, allocations: 6.84 MB / 0.4995 GB, free: 15.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.122, allocations: 0 / 0.4995 GB, free: 15.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.122, allocations: 0 / 0.4995 GB, free: 15.8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.007e-05/0.1221, allocations: 0 / 0.4995 GB, free: 15.8 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.009207/0.1313, allocations: 4.07 MB / 0.5034 GB, free: 11.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.1313, allocations: 8.031 kB / 0.5034 GB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00086/0.1322, allocations: 0.5645 MB / 0.504 GB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004924/0.1371, allocations: 0.9522 MB / 0.5049 GB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004218/0.1414, allocations: 2.566 MB / 0.5074 GB, free: 7.496 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002093/0.1416, allocations: 275.8 kB / 0.5077 GB, free: 7.227 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005365/0.1421, allocations: 375.8 kB / 0.508 GB, free: 6.859 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007496/0.1496, allocations: 4.684 MB / 0.5126 GB, free: 2.125 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.481e-05/0.1497, allocations: 4 kB / 0.5126 GB, free: 2.121 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003336/0.1501, allocations: 148 kB / 0.5128 GB, free: 1.977 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001467/0.1502, allocations: 155.3 kB / 0.5129 GB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006423/0.1566, allocations: 3.913 MB / 0.5167 GB, free: 13.9 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1793/0.3359, allocations: 15.64 MB / 0.532 GB, free: 57.82 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004467/0.3404, allocations: 6.053 MB / 0.5379 GB, free: 53.45 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002074/0.3425, allocations: 1.378 MB / 0.5393 GB, free: 53.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005876/0.3484, allocations: 4.238 MB / 0.5434 GB, free: 52.34 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.3485, allocations: 51.5 kB / 0.5434 GB, free: 52.3 MB / 366.1 MB Notification: Performance of pre-optimization done (n=133): time 2.986e-06/0.3485, allocations: 1.375 kB / 0.5434 GB, free: 52.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=137): time 0.009126/0.3576, allocations: 5.188 MB / 0.5485 GB, free: 50.87 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.986e-05/0.3576, allocations: 66.53 kB / 0.5486 GB, free: 50.8 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002513/0.3602, allocations: 2.022 MB / 0.5506 GB, free: 50.55 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.452e-05/0.3602, allocations: 49.42 kB / 0.5506 GB, free: 50.52 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007726/0.361, allocations: 1.668 MB / 0.5522 GB, free: 49.7 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002547/0.3613, allocations: 483 kB / 0.5527 GB, free: 49.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001891/0.3615, allocations: 163 kB / 0.5528 GB, free: 49.39 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 3.53e-05/0.3615, allocations: 306.1 kB / 0.5531 GB, free: 49.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009623/0.3625, allocations: 0.663 MB / 0.5538 GB, free: 49.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001225/0.3637, allocations: 1.378 MB / 0.5551 GB, free: 47.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002308/0.366, allocations: 2.198 MB / 0.5573 GB, free: 46.28 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.073e-05/0.3661, allocations: 7.875 kB / 0.5573 GB, free: 46.28 MB / 366.1 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.003033/0.3691, allocations: 2.482 MB / 0.5597 GB, free: 45.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.655e-05/0.3691, allocations: 19.88 kB / 0.5597 GB, free: 45.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.122e-05/0.3692, allocations: 23.84 kB / 0.5598 GB, free: 45.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003049/0.3695, allocations: 143 kB / 0.5599 GB, free: 45.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00147/0.371, allocations: 469.8 kB / 0.5603 GB, free: 45.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001369/0.3723, allocations: 1.945 MB / 0.5622 GB, free: 43.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001234/0.3736, allocations: 82.19 kB / 0.5623 GB, free: 43.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001072/0.3737, allocations: 94.84 kB / 0.5624 GB, free: 43.35 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.001379/0.3751, allocations: 1.068 MB / 0.5634 GB, free: 42.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002273/0.3753, allocations: 213.5 kB / 0.5636 GB, free: 42.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002783/0.3781, allocations: 2.017 MB / 0.5656 GB, free: 41.47 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.3781, allocations: 12.03 kB / 0.5656 GB, free: 41.47 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.3782, allocations: 9.594 kB / 0.5656 GB, free: 41.47 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/0.3782, allocations: 7.969 kB / 0.5656 GB, free: 41.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005647/0.3838, allocations: 4.953 MB / 0.5705 GB, free: 38.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/0.3838, allocations: 3.156 kB / 0.5705 GB, free: 38.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007911/0.3846, allocations: 210.8 kB / 0.5707 GB, free: 38.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007489/0.3854, allocations: 334.3 kB / 0.571 GB, free: 37.96 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.089e-05/0.3855, allocations: 39.7 kB / 0.571 GB, free: 37.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004821/0.3903, allocations: 6.527 MB / 0.5774 GB, free: 32.11 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.3903, allocations: 4.031 kB / 0.5774 GB, free: 32.1 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003323/0.3936, allocations: 2.902 MB / 0.5803 GB, free: 29.11 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005587/0.3942, allocations: 434.4 kB / 0.5807 GB, free: 28.67 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002367/0.3945, allocations: 39.88 kB / 0.5807 GB, free: 28.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009205/0.3954, allocations: 67.02 kB / 0.5808 GB, free: 28.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001825/0.3956, allocations: 97.17 kB / 0.5809 GB, free: 28.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.7e-05/0.3957, allocations: 36 kB / 0.5809 GB, free: 28.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001523/0.3972, allocations: 1.366 MB / 0.5822 GB, free: 27.05 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3972, allocations: 0 / 0.5822 GB, free: 27.05 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001722/0.3989, allocations: 0.6016 MB / 0.5828 GB, free: 26.45 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.003571/0.4025, allocations: 3.515 MB / 0.5863 GB, free: 22.84 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00221/0.4047, allocations: 1.885 MB / 0.5881 GB, free: 20.92 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4047, allocations: 4 kB / 0.5881 GB, free: 20.92 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001348/0.4061, allocations: 1.222 MB / 0.5893 GB, free: 19.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002629/0.4087, allocations: 0.5452 MB / 0.5898 GB, free: 19.12 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03587/0.4446, allocations: 25.52 MB / 0.6147 GB, free: 7.383 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002145/0.4468, allocations: 2.407 MB / 0.6171 GB, free: 4.941 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001648/0.4485, allocations: 466.6 kB / 0.6175 GB, free: 4.484 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001522/0.45, allocations: 1.284 MB / 0.6188 GB, free: 3.203 MB / 382.1 MB Notification: Performance of SimCode: time 7.32e-07/0.45, allocations: 0 / 0.6188 GB, free: 3.203 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07737/0.5274, allocations: 52 MB / 0.6696 GB, free: 15.63 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001686/0.5276, allocations: 236.1 kB / 0.6698 GB, free: 15.37 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.657/3.185, allocations: 0 / 0.6698 GB, free: 15.37 MB / 446.1 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/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)