Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008508/0.0008508, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008434/0.0008434, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.931/0.931, allocations: 177 MB / 204.1 MB, free: 5.766 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Drive",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Drive",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.585e-06/2.585e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.091e-05/3.349e-05, allocations: 2.984 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive): time 0.0161/0.01613, allocations: 20.27 MB / 344.8 MB, free: 11.52 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01235/0.02848, allocations: 6.738 MB / 351.5 MB, free: 4.762 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003767/0.03225, allocations: 127.2 kB / 351.7 MB, free: 4.637 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00188/0.03413, allocations: 0.7985 MB / 352.5 MB, free: 3.832 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002599/0.03673, allocations: 0.984 MB / 353.4 MB, free: 2.84 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001247/0.03798, allocations: 0.8231 MB / 354.3 MB, free: 2.016 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003281/0.04126, allocations: 3.662 MB / 357.9 MB, free: 14.34 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001716/0.04297, allocations: 1.202 MB / 359.1 MB, free: 13.08 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002439/0.04541, allocations: 2.066 MB / 361.2 MB, free: 11.01 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001209/0.04662, allocations: 1.008 MB / 362.2 MB, free: 9.996 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005002/0.04712, allocations: 384 kB / 362.6 MB, free: 9.621 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004569/0.04758, allocations: 427.9 kB / 363 MB, free: 9.203 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003437/0.04792, allocations: 0.7279 MB / 363.7 MB, free: 8.473 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001153/0.04908, allocations: 1.118 MB / 364.8 MB, free: 7.352 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003176/0.05225, allocations: 4.603 MB / 369.4 MB, free: 2.734 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.05226, allocations: 4 kB / 369.4 MB, free: 2.73 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.156e-06/0.05226, allocations: 4 kB / 369.4 MB, free: 2.727 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001538/0.05241, allocations: 0 / 369.4 MB, free: 2.727 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 671 * Number of variables: 671 Notification: Performance of Generate backend data structure: time 0.005003/0.05742, allocations: 3.059 MB / 372.5 MB, free: 15.62 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.896e-05/0.05748, allocations: 15.98 kB / 372.5 MB, free: 15.6 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003623/0.05784, allocations: 359.3 kB / 372.9 MB, free: 15.24 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006508/0.05849, allocations: 390.8 kB / 373.3 MB, free: 14.86 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001878/0.06037, allocations: 1.425 MB / 374.7 MB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001005/0.06047, allocations: 197.6 kB / 374.9 MB, free: 13.2 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002357/0.0607, allocations: 272.3 kB / 375.1 MB, free: 12.93 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004021/0.06472, allocations: 2.69 MB / 377.8 MB, free: 10.09 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.181e-05/0.06478, allocations: 7.938 kB / 377.8 MB, free: 10.08 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001359/0.06491, allocations: 108 kB / 377.9 MB, free: 9.973 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.402e-05/0.06495, allocations: 68 kB / 378 MB, free: 9.906 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002299/0.06725, allocations: 1.686 MB / 379.7 MB, free: 8.207 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00924/0.07649, allocations: 9.506 MB / 389.2 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00111/0.07759, allocations: 0.7524 MB / 390 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006286/0.07822, allocations: 491.5 kB / 390.4 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.966e-05/0.07826, allocations: 9 kB / 390.4 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/0.0783, allocations: 43.56 kB / 390.5 MB, free: 12.86 MB / 362.7 MB Notification: Performance of pre-optimization done (n=84): time 3.146e-06/0.0783, allocations: 3.938 kB / 390.5 MB, free: 12.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=90): time 0.003325/0.08163, allocations: 2.603 MB / 393.1 MB, free: 10.24 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.998e-05/0.0817, allocations: 115.8 kB / 393.2 MB, free: 10.1 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001603/0.0833, allocations: 1.628 MB / 394.8 MB, free: 8.473 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.085e-05/0.08335, allocations: 45.7 kB / 394.9 MB, free: 8.422 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006038/0.08395, allocations: 1.343 MB / 396.2 MB, free: 7.066 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000184/0.08414, allocations: 345.1 kB / 396.6 MB, free: 6.727 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002571/0.08439, allocations: 307.4 kB / 396.9 MB, free: 6.422 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.611e-05/0.08446, allocations: 301.1 kB / 397.2 MB, free: 6.125 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005233/0.08498, allocations: 428.6 kB / 397.6 MB, free: 5.703 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000866/0.08585, allocations: 1.188 MB / 398.8 MB, free: 4.16 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001531/0.08738, allocations: 1.634 MB / 400.4 MB, free: 2.184 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.229e-05/0.08739, allocations: 11.94 kB / 400.4 MB, free: 2.172 MB / 362.7 MB Notification: Performance of matching and sorting (n=217) (initialization): time 0.001976/0.08937, allocations: 1.724 MB / 402.1 MB, free: 452 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.08939, allocations: 16 kB / 402.1 MB, free: 436 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.919e-05/0.08941, allocations: 24 kB / 402.2 MB, free: 412 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001369/0.08955, allocations: 57.56 kB / 402.2 MB, free: 352 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006933/0.09024, allocations: 407.4 kB / 402.6 MB, free: 15.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008637/0.09111, allocations: 1.358 MB / 404 MB, free: 14.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006219/0.09173, allocations: 99.92 kB / 404.1 MB, free: 14.37 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.744e-05/0.0918, allocations: 84 kB / 404.2 MB, free: 14.29 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001056/0.09285, allocations: 0.75 MB / 404.9 MB, free: 13.54 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009297/0.09378, allocations: 1.153 MB / 406.1 MB, free: 12.03 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001337/0.09512, allocations: 1.595 MB / 407.7 MB, free: 10.1 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.171e-05/0.09513, allocations: 8 kB / 407.7 MB, free: 10.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=217) (initialization_lambda0): time 0.001983/0.09711, allocations: 1.677 MB / 409.3 MB, free: 8.402 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.09713, allocations: 16 kB / 409.4 MB, free: 8.387 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.605e-05/0.09714, allocations: 27.98 kB / 409.4 MB, free: 8.359 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.422e-05/0.09724, allocations: 56.84 kB / 409.4 MB, free: 8.301 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006307/0.09787, allocations: 400 kB / 409.8 MB, free: 7.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006406/0.09851, allocations: 1.37 MB / 411.2 MB, free: 6.422 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005154/0.09903, allocations: 79.92 kB / 411.3 MB, free: 6.344 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.188e-05/0.09909, allocations: 80 kB / 411.4 MB, free: 6.266 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 110 * Number of states: 0 () * Number of discrete variables: 3 (switch.control,dcdcInverter2.idealDcDc.powerController.local_reset,dcdcInverter1.idealDcDc.powerController.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (215): * Single equations (assignments): 214 * 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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001994/0.09929, allocations: 309.4 kB / 411.7 MB, free: 5.957 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/0.09942, allocations: 182.8 kB / 411.8 MB, free: 5.777 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00107/0.1005, allocations: 0.9187 MB / 412.8 MB, free: 4.844 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.1005, allocations: 8 kB / 412.8 MB, free: 4.836 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.1005, allocations: 4 kB / 412.8 MB, free: 4.832 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.1005, allocations: 3.984 kB / 412.8 MB, free: 4.828 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002805/0.1033, allocations: 2.68 MB / 415.4 MB, free: 2.055 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.1033, allocations: 4.469 kB / 415.5 MB, free: 2.051 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004348/0.1037, allocations: 187.7 kB / 415.6 MB, free: 1.867 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.996e-05/0.1038, allocations: 32.78 kB / 415.7 MB, free: 1.832 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.497e-05/0.1038, allocations: 24 kB / 415.7 MB, free: 1.809 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008543/0.1047, allocations: 1.28 MB / 417 MB, free: 428 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.1047, allocations: 4 kB / 417 MB, free: 424 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001477/0.1062, allocations: 1.468 MB / 418.4 MB, free: 14.87 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003167/0.1065, allocations: 254.7 kB / 418.7 MB, free: 14.62 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/0.1066, allocations: 27.98 kB / 418.7 MB, free: 14.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003516/0.1069, allocations: 59.95 kB / 418.8 MB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.703e-05/0.107, allocations: 72.42 kB / 418.8 MB, free: 14.46 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.801e-05/0.1071, allocations: 27.98 kB / 418.9 MB, free: 14.44 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0009416/0.108, allocations: 1.036 MB / 419.9 MB, free: 13.41 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-08/0.108, allocations: 0 / 419.9 MB, free: 13.41 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00149/0.1095, allocations: 0.7774 MB / 420.7 MB, free: 12.63 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 16 (dcpm1.phiMechanical,dcpm1.inertiaRotor.w,dcpm1.la.i,dcpm2.la.i,dcdcInverter1.vDCFilter.y,dcdcInverter1.iMotFilter.y,dcdcInverter1.idealDcDc.deadTime.y,dcdcInverter1.idealDcDc.powerController.y,dcdcInverter1.vMotFilter.y,dcdcInverter1.iDCFilter.y,dcdcInverter2.vDCFilter.y,dcdcInverter2.iMotFilter.y,dcdcInverter2.idealDcDc.deadTime.y,dcdcInverter2.idealDcDc.powerController.y,dcdcInverter2.vMotFilter.y,dcdcInverter2.iDCFilter.y) * Number of discrete variables: 1 (switch.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 88 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001872/0.1114, allocations: 2.06 MB / 422.7 MB, free: 10.5 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002605/0.114, allocations: 1.957 MB / 424.7 MB, free: 8.531 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.114, allocations: 4.062 kB / 424.7 MB, free: 8.527 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005389/0.1145, allocations: 0.499 MB / 425.2 MB, free: 8.016 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001174/0.1157, allocations: 448.7 kB / 425.6 MB, free: 7.598 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01902/0.1347, allocations: 14.81 MB / 440.5 MB, free: 7.793 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007352/0.1355, allocations: 0.9217 MB / 441.4 MB, free: 6.828 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007952/0.1362, allocations: 254.5 kB / 441.6 MB, free: 6.574 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007829/0.137, allocations: 0.9377 MB / 442.6 MB, free: 5.637 MB / 410.7 MB Notification: Performance of SimCode: time 1.684e-06/0.137, allocations: 0 / 442.6 MB, free: 5.637 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2208/0.3579, allocations: 40.79 MB / 483.4 MB, free: 87 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.063/8.42, allocations: 4.062 kB / 483.4 MB, free: 87 MB / 410.7 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Drive.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.280191191472113] Failed to read output from testmodel.py, exit status != 0: ['time', 'coupling.w', 'coupling.tau', 'multiSensor.i', 'multiSensor.v'] 8.528777528554201 8.534764757 8.48107422 Calling exit ...