Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 125 kB / 17.79 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 190.9 kB / 20.73 MB, free: 2.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 225.6 MB / 249.1 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1858/0.1858, allocations: 38.5 MB / 342.5 MB, free: 8.016 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Drives_DCmotor_par",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Drives_DCmotor_par",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002086/0.002086, allocations: 71.3 kB / 478.6 MB, free: 33.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1065, allocations: 61.25 MB / 0.5272 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par): time 0.008135/0.1147, allocations: 5.744 MB / 0.5328 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003555/0.1182, allocations: 2.146 MB / 0.5349 GB, free: 9.453 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003513/0.1186, allocations: 19.88 kB / 0.5349 GB, free: 9.434 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005891/0.1192, allocations: 166.8 kB / 0.5351 GB, free: 9.27 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001111/0.1203, allocations: 425.6 kB / 0.5355 GB, free: 8.852 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006466/0.1209, allocations: 255.1 kB / 0.5357 GB, free: 8.605 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001176/0.1221, allocations: 0.8409 MB / 0.5366 GB, free: 7.762 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005724/0.1227, allocations: 416.8 kB / 0.537 GB, free: 7.348 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005436/0.1232, allocations: 358.6 kB / 0.5373 GB, free: 6.996 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005088/0.1237, allocations: 354.5 kB / 0.5376 GB, free: 6.648 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.749e-05/0.1238, allocations: 56 kB / 0.5377 GB, free: 6.594 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000212/0.124, allocations: 99.98 kB / 0.5378 GB, free: 6.496 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002008/0.1242, allocations: 187.4 kB / 0.538 GB, free: 6.312 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003169/0.1245, allocations: 306.5 kB / 0.5383 GB, free: 6.012 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009401/0.1255, allocations: 0.7354 MB / 0.539 GB, free: 5.273 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1255, allocations: 0 / 0.539 GB, free: 5.273 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1255, allocations: 3.938 kB / 0.539 GB, free: 5.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.153e-05/0.1255, allocations: 0 / 0.539 GB, free: 5.27 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001717/0.1272, allocations: 0.9168 MB / 0.5399 GB, free: 4.297 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.1272, allocations: 11.89 kB / 0.5399 GB, free: 4.285 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001073/0.1273, allocations: 86.72 kB / 0.54 GB, free: 4.191 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001219/0.1275, allocations: 68.52 kB / 0.54 GB, free: 4.125 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009728/0.1284, allocations: 0.5255 MB / 0.5405 GB, free: 3.559 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.974e-05/0.1285, allocations: 33 kB / 0.5406 GB, free: 3.527 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/0.1286, allocations: 47.95 kB / 0.5406 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008401/0.1294, allocations: 0.5173 MB / 0.5411 GB, free: 2.926 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.979e-05/0.1295, allocations: 0 / 0.5411 GB, free: 2.926 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.264e-05/0.1295, allocations: 16 kB / 0.5411 GB, free: 2.91 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.509e-05/0.1296, allocations: 17 kB / 0.5412 GB, free: 2.895 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005924/0.1302, allocations: 343.6 kB / 0.5415 GB, free: 2.555 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002899/0.1331, allocations: 2.059 MB / 0.5435 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004901/0.1336, allocations: 223.7 kB / 0.5437 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001419/0.1337, allocations: 78.61 kB / 0.5438 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.058e-05/0.1337, allocations: 4 kB / 0.5438 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003218/0.134, allocations: 176.8 kB / 0.544 GB, free: 15.85 MB / 414.1 MB Notification: Performance of pre-optimization done (n=23): time 2.445e-06/0.134, allocations: 0 / 0.544 GB, free: 15.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=25): time 0.001827/0.1359, allocations: 0.9408 MB / 0.5449 GB, free: 14.86 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.718e-05/0.136, allocations: 136.5 kB / 0.545 GB, free: 14.69 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005169/0.1365, allocations: 425.8 kB / 0.5454 GB, free: 14.27 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.223e-05/0.1365, allocations: 33.7 kB / 0.5454 GB, free: 14.23 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002307/0.1368, allocations: 304.4 kB / 0.5457 GB, free: 13.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.161e-05/0.1368, allocations: 91.22 kB / 0.5458 GB, free: 13.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/0.137, allocations: 74.09 kB / 0.5459 GB, free: 13.76 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002582/0.1372, allocations: 362.7 kB / 0.5462 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001683/0.1374, allocations: 84.83 kB / 0.5463 GB, free: 13.31 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002917/0.1377, allocations: 225.4 kB / 0.5465 GB, free: 13.03 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004684/0.1381, allocations: 329.4 kB / 0.5468 GB, free: 12.65 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.1382, allocations: 0 / 0.5468 GB, free: 12.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009319/0.1391, allocations: 437.6 kB / 0.5473 GB, free: 12.21 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.1391, allocations: 8 kB / 0.5473 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.1391, allocations: 4.562 kB / 0.5473 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004397/0.1396, allocations: 104.7 kB / 0.5474 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002683/0.1398, allocations: 75.84 kB / 0.5474 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002308/0.1421, allocations: 1.821 MB / 0.5492 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002927/0.1424, allocations: 23.98 kB / 0.5493 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.855e-05/0.1425, allocations: 16 kB / 0.5493 GB, free: 10.02 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 2 (system.initime,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002864/0.1427, allocations: 209.6 kB / 0.5495 GB, free: 9.809 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.217e-05/0.1428, allocations: 47.66 kB / 0.5495 GB, free: 9.762 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006153/0.1434, allocations: 285.3 kB / 0.5498 GB, free: 9.477 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.1434, allocations: 4 kB / 0.5498 GB, free: 9.473 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.1434, allocations: 0 / 0.5498 GB, free: 9.473 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.1434, allocations: 0 / 0.5498 GB, free: 9.473 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001262/0.1447, allocations: 0.7762 MB / 0.5505 GB, free: 8.637 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.1447, allocations: 3.938 kB / 0.5505 GB, free: 8.633 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002819/0.145, allocations: 51.97 kB / 0.5506 GB, free: 8.582 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002294/0.1452, allocations: 56.75 kB / 0.5507 GB, free: 8.523 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.245e-05/0.1452, allocations: 8 kB / 0.5507 GB, free: 8.516 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001551/0.1468, allocations: 1.535 MB / 0.5522 GB, free: 6.84 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.1468, allocations: 4.031 kB / 0.5522 GB, free: 6.836 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008614/0.1477, allocations: 478 kB / 0.5526 GB, free: 6.344 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002229/0.1479, allocations: 136.8 kB / 0.5527 GB, free: 6.191 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.916e-05/0.1479, allocations: 8 kB / 0.5528 GB, free: 6.184 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002399/0.1482, allocations: 15.98 kB / 0.5528 GB, free: 6.168 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.326e-05/0.1483, allocations: 15.97 kB / 0.5528 GB, free: 6.152 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.361e-05/0.1483, allocations: 12 kB / 0.5528 GB, free: 6.141 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004158/0.1487, allocations: 303.1 kB / 0.5531 GB, free: 5.852 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1487, allocations: 0 / 0.5531 GB, free: 5.852 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005839/0.1493, allocations: 115.9 kB / 0.5532 GB, free: 5.738 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (dcm_par.rotor.phi,dcm_par.rotor.w,dcm_par.motor.i,dcm_par.motor.i_f,tabLoad.s) * Number of discrete variables: 2 ($whenCondition1,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00255/0.1518, allocations: 1.315 MB / 0.5545 GB, free: 4.547 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008754/0.1527, allocations: 383.5 kB / 0.5548 GB, free: 4.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.1527, allocations: 4.062 kB / 0.5549 GB, free: 4.156 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004219/0.1531, allocations: 238.9 kB / 0.5551 GB, free: 3.91 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008048/0.1539, allocations: 134.7 kB / 0.5552 GB, free: 3.785 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006579/0.1605, allocations: 4.243 MB / 0.5594 GB, free: 15.32 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005759/0.1611, allocations: 0.8777 MB / 0.5602 GB, free: 14.42 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002721/0.1614, allocations: 72.22 kB / 0.5603 GB, free: 14.35 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002512/0.1616, allocations: 179.3 kB / 0.5604 GB, free: 14.17 MB / 430.1 MB Notification: Performance of SimCode: time 1.102e-06/0.1616, allocations: 0 / 0.5604 GB, free: 14.17 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04483/0.2064, allocations: 11.59 MB / 0.5718 GB, free: 2.652 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.43/13.63, allocations: 8.766 kB / 0.5718 GB, free: 2.645 MB / 430.1 MB " [Timeout remaining time 646] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Drives_DCmotor_par_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC1ph_DC_Drives_DCmotor_par.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.607206291053444] Failed to read output from testmodel.py, exit status != 0: 13.795190684963018 13.811234969 13.68264534 Calling exit ...