Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm.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_pm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009209/0.0009209, allocations: 96.83 kB / 17.31 MB, free: 6.07 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.001183/0.001183, allocations: 178.4 kB / 18.21 MB, free: 5.406 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.782/1.782, allocations: 205.4 MB / 224.4 MB, free: 13.06 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1734/0.1734, allocations: 38.05 MB / 310.7 MB, free: 5.906 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.0005491/0.0005493, allocations: 15.98 kB / 377.8 MB, free: 2.723 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3131/0.3137, allocations: 56.33 MB / 434.1 MB, free: 18.69 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm): time 0.006115/0.3199, allocations: 5.679 MB / 439.8 MB, free: 12.98 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003237/0.3231, allocations: 1.862 MB / 441.7 MB, free: 11.11 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007483/0.3239, allocations: 35.75 kB / 441.7 MB, free: 11.07 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004784/0.3244, allocations: 107.3 kB / 441.8 MB, free: 10.97 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001006/0.3254, allocations: 278.5 kB / 442.1 MB, free: 10.7 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003887/0.3259, allocations: 135.9 kB / 442.2 MB, free: 10.56 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007493/0.3266, allocations: 0.8878 MB / 443.1 MB, free: 9.672 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004131/0.327, allocations: 353.8 kB / 443.5 MB, free: 9.324 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002646/0.3273, allocations: 227 kB / 443.7 MB, free: 9.102 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003553/0.3277, allocations: 274.9 kB / 444 MB, free: 8.832 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.527e-05/0.3277, allocations: 24 kB / 444 MB, free: 8.809 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.971e-05/0.3278, allocations: 24 kB / 444 MB, free: 8.785 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001272/0.3279, allocations: 135.5 kB / 444.1 MB, free: 8.652 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002022/0.3281, allocations: 252.5 kB / 444.4 MB, free: 8.398 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003222/0.3285, allocations: 466.6 kB / 444.8 MB, free: 7.941 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.145e-06/0.3285, allocations: 0 / 444.8 MB, free: 7.941 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3285, allocations: 4 kB / 444.8 MB, free: 7.938 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.3285, allocations: 0 / 444.8 MB, free: 7.938 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001135/0.3297, allocations: 0.692 MB / 445.5 MB, free: 7.199 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.3297, allocations: 15.98 kB / 445.5 MB, free: 7.184 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.863e-05/0.3298, allocations: 52.28 kB / 445.6 MB, free: 7.133 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005392/0.3304, allocations: 447.6 kB / 446 MB, free: 6.656 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.084e-05/0.3305, allocations: 62.7 kB / 446.1 MB, free: 6.59 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.294e-05/0.3305, allocations: 44 kB / 446.1 MB, free: 6.547 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006955/0.3312, allocations: 0.5009 MB / 446.6 MB, free: 6.008 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.278e-05/0.3313, allocations: 3.938 kB / 446.6 MB, free: 6.004 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.167e-05/0.3313, allocations: 19.98 kB / 446.7 MB, free: 5.984 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/0.3313, allocations: 12 kB / 446.7 MB, free: 5.973 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005443/0.3319, allocations: 355.7 kB / 447 MB, free: 5.625 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001912/0.3338, allocations: 1.984 MB / 449 MB, free: 3.527 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003803/0.3342, allocations: 235.6 kB / 449.2 MB, free: 3.27 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001721/0.3344, allocations: 94.61 kB / 449.3 MB, free: 3.168 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.3344, allocations: 4 kB / 449.3 MB, free: 3.164 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/0.3344, allocations: 46.55 kB / 449.4 MB, free: 3.109 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 1.713e-06/0.3344, allocations: 0 / 449.4 MB, free: 3.109 MB / 318.1 MB Notification: Performance of matching and sorting (n=22): time 0.001489/0.3359, allocations: 0.8584 MB / 450.2 MB, free: 2.195 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/0.336, allocations: 106.8 kB / 450.3 MB, free: 2.066 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002724/0.3363, allocations: 341.6 kB / 450.7 MB, free: 1.723 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.3363, allocations: 29.7 kB / 450.7 MB, free: 1.688 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/0.3364, allocations: 267.6 kB / 451 MB, free: 1.422 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.149e-05/0.3365, allocations: 78.84 kB / 451 MB, free: 1.344 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.444e-05/0.3365, allocations: 37.7 kB / 451.1 MB, free: 1.301 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.263e-05/0.3366, allocations: 346.8 kB / 451.4 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001762/0.3368, allocations: 87.89 kB / 451.5 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002345/0.3371, allocations: 221 kB / 451.7 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001094/0.3382, allocations: 0.5795 MB / 452.3 MB, free: 15.93 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3382, allocations: 0 / 452.3 MB, free: 15.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008801/0.3391, allocations: 425.6 kB / 452.7 MB, free: 15.5 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.3391, allocations: 7.984 kB / 452.7 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.3391, allocations: 8 kB / 452.7 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003422/0.3395, allocations: 81.12 kB / 452.8 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002386/0.3397, allocations: 63.91 kB / 452.9 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002139/0.3419, allocations: 1.752 MB / 454.6 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002072/0.3421, allocations: 20.06 kB / 454.6 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.412e-05/0.3421, allocations: 16 kB / 454.7 MB, free: 13.42 MB / 334.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.dcm_pm.rotor.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * 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.0002401/0.3424, allocations: 193.4 kB / 454.8 MB, free: 13.22 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.232e-05/0.3425, allocations: 35.53 kB / 454.9 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.059e-05/0.3425, allocations: 39.31 kB / 454.9 MB, free: 13.15 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.3425, allocations: 0 / 454.9 MB, free: 13.15 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.3426, allocations: 7.938 kB / 454.9 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.3426, allocations: 0 / 454.9 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001201/0.3438, allocations: 0.7921 MB / 455.7 MB, free: 12.28 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3438, allocations: 4.031 kB / 455.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002437/0.344, allocations: 51.84 kB / 455.8 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.33e-05/0.3441, allocations: 20.84 kB / 455.8 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.824e-05/0.3441, allocations: 8 kB / 455.8 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009844/0.3451, allocations: 1.28 MB / 457.1 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.3452, allocations: 4.031 kB / 457.1 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007633/0.3459, allocations: 0.5204 MB / 457.6 MB, free: 10.22 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.346, allocations: 108.8 kB / 457.7 MB, free: 10.1 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.759e-05/0.3461, allocations: 23.86 kB / 457.7 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001875/0.3463, allocations: 12 kB / 457.7 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.065e-05/0.3464, allocations: 19.97 kB / 457.8 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/0.3464, allocations: 4 kB / 457.8 MB, free: 10.04 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002352/0.3466, allocations: 231.2 kB / 458 MB, free: 9.816 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3466, allocations: 0 / 458 MB, free: 9.816 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004739/0.3471, allocations: 88 kB / 458.1 MB, free: 9.73 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (dcm_pm.motor.i,loadInertia.w,frictTorq.phi) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 19 * 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,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.0001281/0.3472, allocations: 107.3 kB / 458.2 MB, free: 9.613 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007212/0.348, allocations: 374.6 kB / 458.6 MB, free: 9.234 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.348, allocations: 0 / 458.6 MB, free: 9.234 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003547/0.3483, allocations: 223.4 kB / 458.8 MB, free: 9.004 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007214/0.3491, allocations: 93.5 kB / 458.9 MB, free: 8.906 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001757/0.3509, allocations: 1.224 MB / 460.1 MB, free: 7.641 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005003/0.3514, allocations: 0.8389 MB / 460.9 MB, free: 6.777 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.89e-05/0.3514, allocations: 31.42 kB / 461 MB, free: 6.75 MB / 334.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3514, allocations: 0 / 461 MB, free: 6.75 MB / 334.1 MB Notification: Performance of Templates: time 0.009335/0.3608, allocations: 6.821 MB / 467.8 MB, free: 15.92 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm.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_pmCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pmCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pmCalcHelperMain.o] Error 1