Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.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.001052/0.001052, 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.9601/0.9601, allocations: 177.1 MB / 199.4 MB, free: 5.926 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.001003/0.001003, allocations: 156.6 kB / 256 MB, free: 13.33 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.02204/0.02204, allocations: 6.665 MB / 319 MB, free: 26.75 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_Slip1,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_Slip1,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 445.4 MB, free: 37.59 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.104e-05/2.304e-05, allocations: 6.281 kB / 445.4 MB, free: 37.58 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip1): time 0.01352/0.01354, allocations: 21.98 MB / 467.4 MB, free: 15.5 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01225/0.02579, allocations: 7.776 MB / 475.2 MB, free: 7.695 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004587/0.03038, allocations: 203 kB / 475.4 MB, free: 7.496 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006828/0.03721, allocations: 6.04 MB / 481.4 MB, free: 1.441 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006918/0.04413, allocations: 2.82 MB / 484.2 MB, free: 14.61 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004624/0.04875, allocations: 1.633 MB / 485.9 MB, free: 12.99 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.009547/0.0583, allocations: 7.622 MB / 493.5 MB, free: 5.332 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01172/0.07002, allocations: 9.015 MB / 0.4907 GB, free: 12.19 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007635/0.07765, allocations: 5.651 MB / 0.4963 GB, free: 6.527 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005238/0.08289, allocations: 3.625 MB / 0.4998 GB, free: 2.895 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002027/0.08492, allocations: 1.07 MB / 0.5008 GB, free: 1.824 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002744/0.08766, allocations: 1.444 MB / 0.5023 GB, free: 388 kB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001745/0.0894, allocations: 2.193 MB / 0.5044 GB, free: 14.18 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003814/0.09322, allocations: 2.768 MB / 0.5071 GB, free: 11.41 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01184/0.1051, allocations: 14.69 MB / 0.5214 GB, free: 12.67 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/0.1051, allocations: 4 kB / 0.5215 GB, free: 12.67 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1051, allocations: 0 / 0.5215 GB, free: 12.67 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002702/0.1053, allocations: 0 / 0.5215 GB, free: 12.67 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1800 * Number of variables: 1800 Notification: Performance of Generate backend data structure: time 0.01666/0.122, allocations: 8.814 MB / 0.5301 GB, free: 3.777 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.122, allocations: 8.031 kB / 0.5301 GB, free: 3.77 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002476/0.1245, allocations: 1.052 MB / 0.5311 GB, free: 2.707 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0128/0.1373, allocations: 4.425 MB / 0.5354 GB, free: 14.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008494/0.1458, allocations: 4.625 MB / 0.5399 GB, free: 9.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004429/0.1462, allocations: 489.1 kB / 0.5404 GB, free: 9.109 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002968/0.1492, allocations: 0.6327 MB / 0.541 GB, free: 8.477 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01991/0.1691, allocations: 10.48 MB / 0.5513 GB, free: 13.89 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001362/0.1693, allocations: 7.953 kB / 0.5513 GB, free: 13.89 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009363/0.1702, allocations: 268 kB / 0.5515 GB, free: 13.62 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002967/0.1705, allocations: 425.7 kB / 0.5519 GB, free: 13.21 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01497/0.1855, allocations: 9.853 MB / 0.5615 GB, free: 3.336 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2014/0.3869, allocations: 30.78 MB / 0.5916 GB, free: 94.21 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007081/0.3939, allocations: 6.702 MB / 0.5982 GB, free: 88.42 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001851/0.3958, allocations: 2.111 MB / 0.6002 GB, free: 86.3 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001719/0.396, allocations: 80.45 kB / 0.6003 GB, free: 86.23 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.396, allocations: 64.27 kB / 0.6003 GB, free: 86.16 MB / 426.7 MB Notification: Performance of pre-optimization done (n=295): time 4.699e-06/0.396, allocations: 0 / 0.6003 GB, free: 86.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=301): time 0.01316/0.4092, allocations: 10.82 MB / 0.6109 GB, free: 75.55 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.4092, allocations: 81.78 kB / 0.611 GB, free: 75.46 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002939/0.4121, allocations: 3.135 MB / 0.6141 GB, free: 72.39 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003284/0.4125, allocations: 81.7 kB / 0.6141 GB, free: 72.3 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008487/0.4133, allocations: 2.954 MB / 0.617 GB, free: 69.68 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006211/0.4139, allocations: 1.064 MB / 0.6181 GB, free: 68.63 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007839/0.4147, allocations: 0.9138 MB / 0.6189 GB, free: 67.7 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 2.207e-05/0.4147, allocations: 305.1 kB / 0.6192 GB, free: 67.4 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001913/0.4166, allocations: 2.035 MB / 0.6212 GB, free: 65.36 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00217/0.4188, allocations: 3.749 MB / 0.6249 GB, free: 60.81 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00448/0.4233, allocations: 6.059 MB / 0.6308 GB, free: 53.95 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.723e-05/0.4234, allocations: 16 kB / 0.6308 GB, free: 53.94 MB / 426.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.007684/0.4311, allocations: 6.647 MB / 0.6373 GB, free: 47.25 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.578e-05/0.4311, allocations: 28 kB / 0.6373 GB, free: 47.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.263e-05/0.4311, allocations: 59.98 kB / 0.6374 GB, free: 47.17 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001037/0.4322, allocations: 0.6597 MB / 0.638 GB, free: 46.51 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001926/0.4341, allocations: 1.08 MB / 0.6391 GB, free: 45.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00485/0.439, allocations: 6.024 MB / 0.645 GB, free: 39.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002638/0.4416, allocations: 279.6 kB / 0.6452 GB, free: 39.01 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003823/0.442, allocations: 231.9 kB / 0.6455 GB, free: 38.79 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 251 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (560): * Single equations (assignments): 559 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(8,28,65.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002639/0.4446, allocations: 2.315 MB / 0.6477 GB, free: 36.46 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005246/0.4451, allocations: 345.8 kB / 0.6481 GB, free: 36.12 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00446/0.4496, allocations: 4.609 MB / 0.6526 GB, free: 31.46 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/0.4496, allocations: 32 kB / 0.6526 GB, free: 31.43 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.268e-05/0.4496, allocations: 12 kB / 0.6526 GB, free: 31.41 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-05/0.4496, allocations: 19.92 kB / 0.6526 GB, free: 31.39 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01016/0.4598, allocations: 10.57 MB / 0.6629 GB, free: 20.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/0.4598, allocations: 8 kB / 0.6629 GB, free: 20.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001008/0.4608, allocations: 0.5311 MB / 0.6635 GB, free: 20.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008495/0.4617, allocations: 0.5732 MB / 0.664 GB, free: 19.62 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001358/0.4618, allocations: 63.98 kB / 0.6641 GB, free: 19.56 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003837/0.4656, allocations: 5.264 MB / 0.6692 GB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.4656, allocations: 4 kB / 0.6692 GB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005956/0.4716, allocations: 6.593 MB / 0.6757 GB, free: 7.422 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001286/0.4729, allocations: 0.6577 MB / 0.6763 GB, free: 6.762 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003451/0.4732, allocations: 63.98 kB / 0.6764 GB, free: 6.699 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009331/0.4742, allocations: 139.8 kB / 0.6765 GB, free: 6.562 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003197/0.4745, allocations: 229.8 kB / 0.6767 GB, free: 6.336 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001152/0.4746, allocations: 91.97 kB / 0.6768 GB, free: 6.246 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001943/0.4765, allocations: 2.021 MB / 0.6788 GB, free: 4.223 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4765, allocations: 0 / 0.6788 GB, free: 4.223 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003209/0.4798, allocations: 1.176 MB / 0.6799 GB, free: 3.047 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 2 (smee.short.port_p.reference.gamma,mechanicalPowerSensor.relSpeedSensor.phi_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (291): * Single equations (assignments): 290 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(8,26,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006686/0.4864, allocations: 7.28 MB / 0.687 GB, free: 11.6 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005955/0.4924, allocations: 4.828 MB / 0.6918 GB, free: 6.746 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.246e-06/0.4924, allocations: 0 / 0.6918 GB, free: 6.746 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002487/0.4949, allocations: 2.11 MB / 0.6938 GB, free: 4.625 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00227/0.4972, allocations: 0.6488 MB / 0.6944 GB, free: 3.996 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06086/0.558, allocations: 39.08 MB / 0.7326 GB, free: 10.88 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003995/0.562, allocations: 3.656 MB / 0.7362 GB, free: 7.18 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002517/0.5645, allocations: 1.322 MB / 0.7375 GB, free: 5.855 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00251/0.567, allocations: 2.262 MB / 0.7397 GB, free: 3.594 MB / 490.7 MB Notification: Performance of SimCode: time 1.473e-06/0.567, allocations: 0 / 0.7397 GB, free: 3.594 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2431/0.8101, allocations: 91.45 MB / 0.829 GB, free: 89.63 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.727/10.54, allocations: 3.125 kB / 0.829 GB, free: 89.63 MB / 490.7 MB " [Timeout remaining time 649] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.sim & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1_res.csv --start-time 0 --stop-time 30 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1.fmu > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.096132138743997] Failed to read output from testmodel.py, exit status != 0: 10.662339985370636 10.673691488 10.566137911 Calling exit ...