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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 93.78 kB / 17.31 MB, free: 6.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 175.4 kB / 18.21 MB, free: 5.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.842/1.842, allocations: 205.4 MB / 224.4 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1816/0.1816, allocations: 38.05 MB / 310.7 MB, free: 5.914 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000547/0.0005471, allocations: 16 kB / 377.8 MB, free: 2.727 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.2993, allocations: 56.33 MB / 434.1 MB, free: 18.7 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par): time 0.00554/0.3049, allocations: 5.905 MB / 440 MB, free: 12.76 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003273/0.3082, allocations: 2.241 MB / 442.3 MB, free: 10.51 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000425/0.3087, allocations: 31.81 kB / 442.3 MB, free: 10.48 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005408/0.3092, allocations: 147.2 kB / 442.5 MB, free: 10.34 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008759/0.3101, allocations: 374.2 kB / 442.8 MB, free: 9.969 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005749/0.3107, allocations: 209.8 kB / 443 MB, free: 9.77 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001062/0.3118, allocations: 1.063 MB / 444.1 MB, free: 8.703 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004416/0.3122, allocations: 402.8 kB / 444.5 MB, free: 8.305 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003261/0.3126, allocations: 290.6 kB / 444.8 MB, free: 8.02 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003353/0.3129, allocations: 318.7 kB / 445.1 MB, free: 7.707 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.7e-05/0.313, allocations: 24 kB / 445.1 MB, free: 7.684 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001924/0.3132, allocations: 79.95 kB / 445.2 MB, free: 7.605 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001504/0.3133, allocations: 155.5 kB / 445.3 MB, free: 7.453 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002283/0.3136, allocations: 300.2 kB / 445.6 MB, free: 7.152 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004326/0.314, allocations: 0.5571 MB / 446.2 MB, free: 6.594 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.314, allocations: 4 kB / 446.2 MB, free: 6.59 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.314, allocations: 0 / 446.2 MB, free: 6.59 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.147e-06/0.314, allocations: 0 / 446.2 MB, free: 6.59 MB / 318.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.0014/0.3154, allocations: 0.7968 MB / 447 MB, free: 5.742 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.3155, allocations: 11.98 kB / 447 MB, free: 5.73 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001057/0.3156, allocations: 64.19 kB / 447.1 MB, free: 5.668 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006818/0.3163, allocations: 0.4979 MB / 447.6 MB, free: 5.129 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.473e-05/0.3163, allocations: 33 kB / 447.6 MB, free: 5.094 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/0.3165, allocations: 43.91 kB / 447.6 MB, free: 5.051 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006498/0.3171, allocations: 0.5212 MB / 448.2 MB, free: 4.488 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/0.3171, allocations: 0 / 448.2 MB, free: 4.488 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.207e-05/0.3172, allocations: 16 kB / 448.2 MB, free: 4.473 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.66e-05/0.3173, allocations: 17 kB / 448.2 MB, free: 4.457 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004504/0.3177, allocations: 343.6 kB / 448.5 MB, free: 4.121 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001964/0.3197, allocations: 2.07 MB / 450.6 MB, free: 1.938 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003648/0.3201, allocations: 235.7 kB / 450.8 MB, free: 1.68 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.3202, allocations: 83.06 kB / 450.9 MB, free: 1.59 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.853e-05/0.3202, allocations: 4 kB / 450.9 MB, free: 1.586 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002273/0.3205, allocations: 169.7 kB / 451.1 MB, free: 1.398 MB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 2.705e-06/0.3205, allocations: 3.984 kB / 451.1 MB, free: 1.395 MB / 318.1 MB Notification: Performance of matching and sorting (n=25): time 0.001457/0.3219, allocations: 0.92 MB / 452 MB, free: 424 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.179e-05/0.322, allocations: 132.5 kB / 452.1 MB, free: 260 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004541/0.3225, allocations: 430.1 kB / 452.5 MB, free: 15.82 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.021e-05/0.3225, allocations: 29.7 kB / 452.6 MB, free: 15.79 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002447/0.3228, allocations: 303.5 kB / 452.9 MB, free: 15.49 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.779e-05/0.3228, allocations: 82.81 kB / 453 MB, free: 15.41 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.898e-05/0.3229, allocations: 41.64 kB / 453 MB, free: 15.36 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001895/0.3231, allocations: 358.7 kB / 453.3 MB, free: 15 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001628/0.3233, allocations: 84.84 kB / 453.4 MB, free: 14.91 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002796/0.3236, allocations: 229.4 kB / 453.7 MB, free: 14.63 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004563/0.324, allocations: 316.1 kB / 454 MB, free: 14.27 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.324, allocations: 0 / 454 MB, free: 14.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000836/0.3249, allocations: 445.3 kB / 454.4 MB, free: 13.82 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.922e-05/0.3249, allocations: 8 kB / 454.4 MB, free: 13.81 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.3249, allocations: 4 kB / 454.4 MB, free: 13.81 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004094/0.3254, allocations: 101.3 kB / 454.5 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000239/0.3256, allocations: 75.84 kB / 454.6 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002077/0.3277, allocations: 1.691 MB / 456.3 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002568/0.328, allocations: 28 kB / 456.3 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.019e-05/0.328, allocations: 19.98 kB / 456.3 MB, free: 11.76 MB / 334.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.0002611/0.3283, allocations: 209.6 kB / 456.5 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.955e-05/0.3283, allocations: 43.44 kB / 456.6 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005728/0.3289, allocations: 286 kB / 456.8 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.3289, allocations: 3.984 kB / 456.8 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.3289, allocations: 8 kB / 456.9 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.329, allocations: 0 / 456.9 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001137/0.3301, allocations: 0.7727 MB / 457.6 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.3301, allocations: 4 kB / 457.6 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002515/0.3304, allocations: 35.98 kB / 457.7 MB, free: 10.33 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002057/0.3306, allocations: 56.8 kB / 457.7 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.483e-05/0.3306, allocations: 15.92 kB / 457.7 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001442/0.3321, allocations: 1.433 MB / 459.2 MB, free: 8.691 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.3321, allocations: 8.031 kB / 459.2 MB, free: 8.684 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007471/0.3328, allocations: 477.2 kB / 459.6 MB, free: 8.191 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001351/0.333, allocations: 140.6 kB / 459.8 MB, free: 8.035 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.662e-05/0.3331, allocations: 4 kB / 459.8 MB, free: 8.031 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002121/0.3333, allocations: 19.98 kB / 459.8 MB, free: 8.012 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.257e-05/0.3334, allocations: 27.84 kB / 459.8 MB, free: 7.984 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.3334, allocations: 7.938 kB / 459.8 MB, free: 7.977 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003674/0.3337, allocations: 303.1 kB / 460.1 MB, free: 7.68 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3338, allocations: 0 / 460.1 MB, free: 7.68 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000507/0.3343, allocations: 112 kB / 460.2 MB, free: 7.57 MB / 334.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.0009388/0.3352, allocations: 403.8 kB / 460.6 MB, free: 7.223 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007923/0.336, allocations: 391.1 kB / 461 MB, free: 6.828 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.336, allocations: 256 / 461 MB, free: 6.828 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003698/0.3364, allocations: 238.6 kB / 461.3 MB, free: 6.582 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000748/0.3372, allocations: 122 kB / 461.4 MB, free: 6.465 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002191/0.3394, allocations: 1.555 MB / 462.9 MB, free: 4.875 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000532/0.3399, allocations: 0.874 MB / 463.8 MB, free: 3.977 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.34, allocations: 43.42 kB / 463.8 MB, free: 3.934 MB / 334.1 MB Notification: Performance of SimCode: time 5.31e-07/0.34, allocations: 3.938 kB / 463.8 MB, free: 3.93 MB / 334.1 MB Notification: Performance of Templates: time 0.01315/0.3532, allocations: 8.719 MB / 472.6 MB, free: 11.2 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_parCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_parCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_parCalcHelperMain.o] Error 1