Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000779/0.000779, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9131/0.9131, allocations: 177.1 MB / 199.4 MB, free: 5.934 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001567/0.001567, allocations: 156.6 kB / 256 MB, free: 13.34 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.02253/0.02253, allocations: 6.669 MB / 319 MB, free: 26.77 MB / 266.7 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_DOL,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_DOL,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_DOL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 445.4 MB, free: 37.61 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.076e-05/2.241e-05, allocations: 2.281 kB / 445.4 MB, free: 37.61 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_DOL): time 0.009747/0.009769, allocations: 15.13 MB / 460.6 MB, free: 22.41 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.008618/0.01839, allocations: 5.446 MB / 466 MB, free: 16.95 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002916/0.0213, allocations: 127.2 kB / 466.1 MB, free: 16.82 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003646/0.02495, allocations: 1.278 MB / 467.4 MB, free: 15.53 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005042/0.02999, allocations: 1.684 MB / 469.1 MB, free: 13.84 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002088/0.03208, allocations: 1.093 MB / 470.2 MB, free: 12.75 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004309/0.03639, allocations: 5.298 MB / 475.5 MB, free: 7.422 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002246/0.03863, allocations: 2.215 MB / 477.7 MB, free: 5.125 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004048/0.04268, allocations: 3.435 MB / 481.1 MB, free: 1.684 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002661/0.04534, allocations: 2.248 MB / 483.4 MB, free: 15.43 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001276/0.04662, allocations: 0.6172 MB / 484 MB, free: 14.81 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002016/0.04863, allocations: 0.8472 MB / 484.8 MB, free: 13.96 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001187/0.04982, allocations: 1.472 MB / 486.3 MB, free: 12.49 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002082/0.0519, allocations: 1.805 MB / 488.1 MB, free: 10.68 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007577/0.05948, allocations: 8.246 MB / 496.4 MB, free: 2.41 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.05949, allocations: 4 kB / 496.4 MB, free: 2.406 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.05949, allocations: 0 / 496.4 MB, free: 2.406 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002217/0.05971, allocations: 0 / 496.4 MB, free: 2.406 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1052 * Number of variables: 1052 Notification: Performance of Generate backend data structure: time 0.01097/0.07068, allocations: 5.422 MB / 0.49 GB, free: 12.92 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.07073, allocations: 8.031 kB / 0.49 GB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007729/0.0715, allocations: 0.5558 MB / 0.4906 GB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002973/0.07447, allocations: 1.028 MB / 0.4916 GB, free: 11.31 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005164/0.07964, allocations: 2.991 MB / 0.4945 GB, free: 8.273 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001886/0.07983, allocations: 300.5 kB / 0.4948 GB, free: 7.977 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006135/0.08044, allocations: 400.3 kB / 0.4952 GB, free: 7.586 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007538/0.08798, allocations: 5.387 MB / 0.5004 GB, free: 2.074 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.184e-05/0.08804, allocations: 0 / 0.5004 GB, free: 2.074 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002626/0.0883, allocations: 164 kB / 0.5006 GB, free: 1.914 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001166/0.08842, allocations: 176 kB / 0.5008 GB, free: 1.738 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006115/0.09453, allocations: 4.462 MB / 0.5051 GB, free: 13.26 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01922/0.1138, allocations: 14.94 MB / 0.5197 GB, free: 13.87 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003641/0.1174, allocations: 3.252 MB / 0.5229 GB, free: 10.82 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00291/0.1203, allocations: 1.992 MB / 0.5248 GB, free: 8.836 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005883/0.1262, allocations: 4.21 MB / 0.5289 GB, free: 4.586 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.731e-05/0.1262, allocations: 51.88 kB / 0.529 GB, free: 4.527 MB / 394.7 MB Notification: Performance of pre-optimization done (n=158): time 4.017e-06/0.1262, allocations: 4 kB / 0.529 GB, free: 4.523 MB / 394.7 MB Notification: Performance of matching and sorting (n=161): time 0.008366/0.1346, allocations: 5.93 MB / 0.5348 GB, free: 14.54 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.1346, allocations: 68.72 kB / 0.5348 GB, free: 14.46 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002518/0.1372, allocations: 2.354 MB / 0.5371 GB, free: 12.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.863e-05/0.1372, allocations: 49.7 kB / 0.5372 GB, free: 12.03 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009702/0.1382, allocations: 1.909 MB / 0.539 GB, free: 10.1 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003495/0.1386, allocations: 0.5732 MB / 0.5396 GB, free: 9.523 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004/0.139, allocations: 395.9 kB / 0.54 GB, free: 9.129 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.274e-05/0.139, allocations: 305.1 kB / 0.5403 GB, free: 8.828 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009661/0.14, allocations: 0.8631 MB / 0.5411 GB, free: 7.961 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001302/0.1413, allocations: 1.6 MB / 0.5427 GB, free: 6.027 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002354/0.1437, allocations: 2.593 MB / 0.5452 GB, free: 3.117 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.209e-05/0.1437, allocations: 8 kB / 0.5452 GB, free: 3.109 MB / 410.7 MB Notification: Performance of matching and sorting (n=276) (initialization): time 0.003397/0.1471, allocations: 2.916 MB / 0.5481 GB, free: 184 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.945e-05/0.1471, allocations: 16 kB / 0.5481 GB, free: 168 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.305e-05/0.1471, allocations: 24 kB / 0.5481 GB, free: 144 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003161/0.1474, allocations: 182 kB / 0.5483 GB, free: 15.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001078/0.1485, allocations: 0.5421 MB / 0.5488 GB, free: 15.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001643/0.1502, allocations: 2.288 MB / 0.551 GB, free: 13.01 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001249/0.1514, allocations: 111.8 kB / 0.5512 GB, free: 12.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001063/0.1515, allocations: 95.98 kB / 0.5512 GB, free: 12.81 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * 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 (267): * Single equations (assignments): 265 * 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.001815/0.1533, allocations: 1.204 MB / 0.5524 GB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003959/0.1537, allocations: 258.4 kB / 0.5527 GB, free: 11.34 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002851/0.1566, allocations: 2.377 MB / 0.555 GB, free: 8.945 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/0.1566, allocations: 16 kB / 0.555 GB, free: 8.93 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.1566, allocations: 4 kB / 0.555 GB, free: 8.926 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.1566, allocations: 7.969 kB / 0.555 GB, free: 8.918 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006214/0.1628, allocations: 5.403 MB / 0.5603 GB, free: 3.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.1628, allocations: 192 / 0.5603 GB, free: 3.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006676/0.1635, allocations: 291.6 kB / 0.5606 GB, free: 3.145 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005417/0.164, allocations: 357.5 kB / 0.5609 GB, free: 2.789 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-05/0.1641, allocations: 47.92 kB / 0.561 GB, free: 2.742 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1857/0.3498, allocations: 6.978 MB / 0.5678 GB, free: 113.6 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.3498, allocations: 7.234 kB / 0.5678 GB, free: 113.6 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004672/0.3545, allocations: 3.52 MB / 0.5712 GB, free: 112.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008375/0.3554, allocations: 449.4 kB / 0.5716 GB, free: 112.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001982/0.3556, allocations: 31.59 kB / 0.5717 GB, free: 112.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005975/0.3561, allocations: 78.14 kB / 0.5717 GB, free: 112.1 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002326/0.3564, allocations: 131.6 kB / 0.5719 GB, free: 112.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.259e-05/0.3564, allocations: 49.38 kB / 0.5719 GB, free: 112 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001656/0.3581, allocations: 1.569 MB / 0.5735 GB, free: 111.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.2e-07/0.3581, allocations: 4.719 kB / 0.5735 GB, free: 111.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001538/0.3596, allocations: 0.6785 MB / 0.5741 GB, free: 111.4 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (smee.inertiaRotor.w,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,mechanicalSensor.flange_a.phi) * 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 (130): * Single equations (assignments): 127 * 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.00351/0.3631, allocations: 4.15 MB / 0.5782 GB, free: 109.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002284/0.3654, allocations: 2.169 MB / 0.5803 GB, free: 107.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.175e-06/0.3654, allocations: 3.812 kB / 0.5803 GB, free: 107.6 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001201/0.3666, allocations: 1.418 MB / 0.5817 GB, free: 106.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001773/0.3684, allocations: 0.6137 MB / 0.5823 GB, free: 105.9 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0279/0.3963, allocations: 24.3 MB / 0.606 GB, free: 81.94 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001403/0.3977, allocations: 2.139 MB / 0.6081 GB, free: 79.77 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001272/0.399, allocations: 0.5515 MB / 0.6086 GB, free: 79.21 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001056/0.4, allocations: 1.492 MB / 0.6101 GB, free: 77.71 MB / 426.7 MB Notification: Performance of SimCode: time 2.103e-06/0.4, allocations: 0 / 0.6101 GB, free: 77.71 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07555/0.4756, allocations: 63.57 MB / 0.6722 GB, free: 14.71 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.878/9.353, allocations: 15.75 kB / 0.6722 GB, free: 14.7 MB / 426.7 MB " [Timeout remaining time 651] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_SynchronousMachines_SMEE_DOL_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_SynchronousMachines_SMEE_DOL.fmu > HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.552463377825916] Failed to read output from testmodel.py, exit status != 0: 9.46673294622451 9.475728823 9.413347297 Calling exit ...