Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.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.0008476/0.0008476, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] 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.0008213/0.0008213, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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.9262/0.9262, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.233/0.233, allocations: 29.4 MB / 290.1 MB, free: 2.449 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/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 Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Drives_DCmotor_par",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Drives_DCmotor_par",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.113e-05/4.321e-05, allocations: 2.844 kB / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par): time 0.00649/0.006533, allocations: 5.493 MB / 435.7 MB, free: 8.086 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00306/0.009593, allocations: 2.15 MB / 437.8 MB, free: 5.93 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003202/0.009913, allocations: 23.81 kB / 437.9 MB, free: 5.906 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006005/0.01051, allocations: 170.7 kB / 438 MB, free: 5.738 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001037/0.01155, allocations: 473 kB / 438.5 MB, free: 5.273 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005627/0.01211, allocations: 266.5 kB / 438.8 MB, free: 5.016 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009885/0.0131, allocations: 0.8795 MB / 439.6 MB, free: 4.133 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004293/0.01353, allocations: 377.2 kB / 440 MB, free: 3.754 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005729/0.0141, allocations: 0.5025 MB / 440.5 MB, free: 3.25 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003988/0.0145, allocations: 291.2 kB / 440.8 MB, free: 2.965 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.935e-05/0.01456, allocations: 59.88 kB / 440.9 MB, free: 2.906 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002371/0.0148, allocations: 151.8 kB / 441 MB, free: 2.758 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001631/0.01496, allocations: 195.4 kB / 441.2 MB, free: 2.566 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001703/0.01513, allocations: 203.5 kB / 441.4 MB, free: 2.367 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006908/0.01582, allocations: 0.7867 MB / 442.2 MB, free: 1.578 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.01583, allocations: 0 / 442.2 MB, free: 1.578 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.01583, allocations: 0 / 442.2 MB, free: 1.578 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.01584, allocations: 0 / 442.2 MB, free: 1.578 MB / 410.7 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.001256/0.01709, allocations: 0.8607 MB / 443 MB, free: 0.6836 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.01713, allocations: 11.98 kB / 443 MB, free: 0.6719 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.136e-05/0.0172, allocations: 86.7 kB / 443.1 MB, free: 0.5781 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.679e-05/0.01729, allocations: 68.56 kB / 443.2 MB, free: 0.5117 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000649/0.01794, allocations: 463.1 kB / 443.7 MB, free: 32 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.656e-05/0.01796, allocations: 32.94 kB / 443.7 MB, free: 0 / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.1794/0.1974, allocations: 44.77 kB / 443.7 MB, free: 54.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006551/0.1981, allocations: 0.5458 MB / 444.3 MB, free: 54.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.811e-05/0.1981, allocations: 0 / 444.3 MB, free: 54.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.326e-05/0.1981, allocations: 17.78 kB / 444.3 MB, free: 54.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.507e-05/0.1982, allocations: 15.72 kB / 444.3 MB, free: 54.59 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003432/0.1985, allocations: 335.6 kB / 444.6 MB, free: 54.56 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001677/0.2002, allocations: 1.889 MB / 446.5 MB, free: 53.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003016/0.2005, allocations: 233.4 kB / 446.8 MB, free: 53.07 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.725e-05/0.2006, allocations: 76.77 kB / 446.8 MB, free: 53.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.805e-05/0.2006, allocations: 7.109 kB / 446.8 MB, free: 53.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001939/0.2008, allocations: 170.7 kB / 447 MB, free: 52.92 MB / 410.7 MB Notification: Performance of pre-optimization done (n=23): time 1.993e-06/0.2008, allocations: 0 / 447 MB, free: 52.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.001162/0.202, allocations: 0.8637 MB / 447.9 MB, free: 52.39 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.202, allocations: 133 kB / 448 MB, free: 52.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000315/0.2023, allocations: 452 kB / 448.4 MB, free: 52.01 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.2024, allocations: 33.05 kB / 448.5 MB, free: 51.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.2025, allocations: 305.3 kB / 448.8 MB, free: 51.76 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.215e-05/0.2025, allocations: 89.84 kB / 448.9 MB, free: 51.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.063e-05/0.2026, allocations: 77.42 kB / 448.9 MB, free: 51.65 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.002e-05/0.2026, allocations: 360.2 kB / 449.3 MB, free: 51.32 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.525e-05/0.2027, allocations: 83.38 kB / 449.4 MB, free: 51.29 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001365/0.2029, allocations: 252.5 kB / 449.6 MB, free: 51.05 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002361/0.2031, allocations: 325.7 kB / 449.9 MB, free: 50.81 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.2031, allocations: 6.969 kB / 449.9 MB, free: 50.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004774/0.2036, allocations: 445.4 kB / 450.4 MB, free: 50.61 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.2036, allocations: 6.531 kB / 450.4 MB, free: 50.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.2036, allocations: 7.469 kB / 450.4 MB, free: 50.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002498/0.2039, allocations: 89.42 kB / 450.5 MB, free: 50.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.204, allocations: 75.75 kB / 450.5 MB, free: 50.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00119/0.2052, allocations: 1.705 MB / 452.2 MB, free: 49.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001681/0.2054, allocations: 24.19 kB / 452.3 MB, free: 49.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/0.2054, allocations: 17.16 kB / 452.3 MB, free: 49.12 MB / 410.7 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.0001654/0.2055, allocations: 212.8 kB / 452.5 MB, free: 48.96 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.156e-05/0.2056, allocations: 46.88 kB / 452.5 MB, free: 48.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003409/0.2059, allocations: 284.3 kB / 452.8 MB, free: 48.79 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.2059, allocations: 3.156 kB / 452.8 MB, free: 48.79 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.2059, allocations: 6.797 kB / 452.8 MB, free: 48.79 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.2059, allocations: 0 / 452.8 MB, free: 48.79 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006574/0.2066, allocations: 0.7164 MB / 453.5 MB, free: 48.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.2066, allocations: 0 / 453.5 MB, free: 48.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001411/0.2067, allocations: 41.23 kB / 453.6 MB, free: 48.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001155/0.2068, allocations: 57.59 kB / 453.6 MB, free: 48.33 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.2069, allocations: 10.97 kB / 453.7 MB, free: 48.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006068/0.2075, allocations: 1.428 MB / 455.1 MB, free: 46.99 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.2075, allocations: 3.938 kB / 455.1 MB, free: 46.99 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004137/0.2079, allocations: 483.1 kB / 455.6 MB, free: 46.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.327e-05/0.208, allocations: 54.94 kB / 455.6 MB, free: 46.67 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.962e-05/0.208, allocations: 14.55 kB / 455.6 MB, free: 46.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.2081, allocations: 14.31 kB / 455.6 MB, free: 46.66 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.62e-05/0.2082, allocations: 30.52 kB / 455.7 MB, free: 46.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.2082, allocations: 3.25 kB / 455.7 MB, free: 46.65 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002108/0.2084, allocations: 306.8 kB / 456 MB, free: 46.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2084, allocations: 0 / 456 MB, free: 46.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005232/0.2089, allocations: 135.4 kB / 456.1 MB, free: 46.48 MB / 410.7 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.001385/0.2103, allocations: 1.395 MB / 457.5 MB, free: 45.61 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005809/0.2109, allocations: 376.2 kB / 457.9 MB, free: 45.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2109, allocations: 0 / 457.9 MB, free: 45.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002209/0.2111, allocations: 238.6 kB / 458.1 MB, free: 45.26 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006215/0.2117, allocations: 140.4 kB / 458.2 MB, free: 45.21 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003756/0.2155, allocations: 4.141 MB / 462.4 MB, free: 42.59 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002106/0.2157, allocations: 281.8 kB / 462.7 MB, free: 42.48 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002058/0.2159, allocations: 65.48 kB / 462.7 MB, free: 42.46 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00016/0.2161, allocations: 182.1 kB / 462.9 MB, free: 42.33 MB / 410.7 MB Notification: Performance of SimCode: time 1.553e-06/0.2161, allocations: 1.859 kB / 462.9 MB, free: 42.33 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0337/0.2498, allocations: 13.15 MB / 476 MB, free: 39.96 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.002/8.252, allocations: 6.953 kB / 476.1 MB, free: 39.96 MB / 410.7 MB " [Timeout remaining time 652] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Drives_DCmotor_par_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Drives_DCmotor_par.fmu > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.27567162644118] Failed to read output from testmodel.py, exit status != 0: 8.367560935206711 8.381704187 8.36315215 Calling exit ...