Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.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.AC3ph.Drives.ASM_Y_D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D") translateModel(PowerSystems.Examples.AC3ph.Drives.ASM_Y_D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008957/0.0008957, allocations: 97.92 kB / 16.96 MB, free: 5.297 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.001195/0.001195, allocations: 186.8 kB / 17.85 MB, free: 4.934 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.645/1.645, allocations: 205.4 MB / 224 MB, free: 13.05 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.168/0.168, allocations: 38.04 MB / 310.3 MB, free: 6.102 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.0005174/0.0005175, allocations: 19.12 kB / 377.2 MB, free: 3.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2724/0.2729, allocations: 56.32 MB / 433.5 MB, free: 18.98 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM_Y_D): time 0.005673/0.2787, allocations: 6.002 MB / 439.5 MB, free: 12.96 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005369/0.2841, allocations: 4.483 MB / 444 MB, free: 8.461 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004553/0.2845, allocations: 35.75 kB / 444 MB, free: 8.426 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00657/0.2911, allocations: 4.398 MB / 448.4 MB, free: 4.023 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001224/0.2924, allocations: 477.8 kB / 448.9 MB, free: 3.555 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007828/0.2932, allocations: 243.6 kB / 449.1 MB, free: 3.316 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001721/0.2949, allocations: 1.949 MB / 451.1 MB, free: 1.363 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009962/0.2959, allocations: 0.7905 MB / 451.8 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004324/0.2964, allocations: 390.5 kB / 452.2 MB, free: 160 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005922/0.297, allocations: 486.5 kB / 452.7 MB, free: 15.68 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.061e-05/0.297, allocations: 32 kB / 452.7 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002181/0.2973, allocations: 79.88 kB / 452.8 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002789/0.2976, allocations: 283.2 kB / 453.1 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001645/0.2977, allocations: 161.3 kB / 453.2 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007256/0.2985, allocations: 0.7986 MB / 454 MB, free: 14.32 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.2985, allocations: 3.938 kB / 454 MB, free: 14.32 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.2985, allocations: 0 / 454 MB, free: 14.32 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.217e-06/0.2985, allocations: 0 / 454 MB, free: 14.32 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.001628/0.3001, allocations: 0.8959 MB / 454.9 MB, free: 13.37 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.3002, allocations: 12.03 kB / 455 MB, free: 13.36 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004041/0.3006, allocations: 107 kB / 455.1 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000991/0.3016, allocations: 0.5837 MB / 455.6 MB, free: 12.63 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.926e-05/0.3017, allocations: 79 kB / 455.7 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/0.3018, allocations: 67.91 kB / 455.8 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001278/0.3031, allocations: 0.8021 MB / 456.6 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.767e-05/0.3031, allocations: 7.938 kB / 456.6 MB, free: 11.63 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.976e-05/0.3032, allocations: 24 kB / 456.6 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001174/0.3033, allocations: 53.23 kB / 456.7 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00092/0.3043, allocations: 0.5906 MB / 457.3 MB, free: 10.96 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003853/0.3081, allocations: 2.935 MB / 460.2 MB, free: 7.918 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007798/0.3089, allocations: 430.1 kB / 460.6 MB, free: 7.48 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000325/0.3093, allocations: 226.3 kB / 460.8 MB, free: 7.254 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.338e-05/0.3093, allocations: 4.328 kB / 460.8 MB, free: 7.25 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00049/0.3098, allocations: 347.6 kB / 461.2 MB, free: 6.887 MB / 334.1 MB Notification: Performance of pre-optimization done (n=42): time 2.044e-06/0.3098, allocations: 8 kB / 461.2 MB, free: 6.879 MB / 334.1 MB Notification: Performance of matching and sorting (n=45): time 0.003164/0.313, allocations: 2.036 MB / 463.2 MB, free: 4.684 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.313e-05/0.3131, allocations: 136.5 kB / 463.4 MB, free: 4.52 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004986/0.3136, allocations: 445.9 kB / 463.8 MB, free: 4.074 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.898e-05/0.3136, allocations: 41.73 kB / 463.8 MB, free: 4.027 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002808/0.3139, allocations: 323.9 kB / 464.1 MB, free: 3.707 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001963/0.3141, allocations: 165.6 kB / 464.3 MB, free: 3.543 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-05/0.3142, allocations: 12 kB / 464.3 MB, free: 3.531 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002261/0.3144, allocations: 362.8 kB / 464.7 MB, free: 3.168 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003382/0.3148, allocations: 225.2 kB / 464.9 MB, free: 2.945 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004564/0.3152, allocations: 402.2 kB / 465.3 MB, free: 2.488 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001779/0.317, allocations: 0.7541 MB / 466 MB, free: 1.711 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.317, allocations: 0 / 466 MB, free: 1.711 MB / 334.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001679/0.3187, allocations: 0.967 MB / 467 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.749e-05/0.3188, allocations: 29.7 kB / 467 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.3188, allocations: 8 kB / 467 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008802/0.3197, allocations: 321.5 kB / 467.4 MB, free: 372 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008073/0.3205, allocations: 171.8 kB / 467.5 MB, free: 200 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006244/0.3268, allocations: 4.858 MB / 472.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003779/0.3271, allocations: 23.98 kB / 472.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.608e-05/0.3272, allocations: 31.98 kB / 472.4 MB, free: 11.02 MB / 350.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.asm_Y_D.rotor.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 (system.initime,$whenCondition1,$PRE.relay1.cnt,relay1.cnt,$PRE.relay1.y,relay1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 1 {3 15} Notification: Performance of prepare postOptimizeDAE: time 0.0004473/0.3277, allocations: 295.3 kB / 472.7 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.377e-05/0.3277, allocations: 55.34 kB / 472.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001132/0.3289, allocations: 0.813 MB / 473.6 MB, free: 9.785 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.3289, allocations: 4 kB / 473.6 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3289, allocations: 0 / 473.6 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/0.3289, allocations: 3.984 kB / 473.6 MB, free: 9.777 MB / 350.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002203/0.3311, allocations: 1.679 MB / 475.3 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.3311, allocations: 0 / 475.3 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001034/0.3322, allocations: 187.9 kB / 475.5 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002043/0.3324, allocations: 82.52 kB / 475.5 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.806e-05/0.3324, allocations: 12 kB / 475.6 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002828/0.3353, allocations: 3.953 MB / 479.5 MB, free: 3.328 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3353, allocations: 3.938 kB / 479.5 MB, free: 3.324 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001532/0.3368, allocations: 1.118 MB / 480.6 MB, free: 2.129 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002325/0.3371, allocations: 184.3 kB / 480.8 MB, free: 1.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.892e-05/0.3372, allocations: 15.95 kB / 480.8 MB, free: 1.914 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002404/0.3374, allocations: 19.98 kB / 480.8 MB, free: 1.895 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.108e-05/0.3375, allocations: 31.95 kB / 480.9 MB, free: 1.863 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.459e-05/0.3376, allocations: 16 kB / 480.9 MB, free: 1.848 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003993/0.338, allocations: 319 kB / 481.2 MB, free: 1.535 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.834e-06/0.338, allocations: 0 / 481.2 MB, free: 1.535 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007542/0.3387, allocations: 163.9 kB / 481.4 MB, free: 1.375 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (asm_Y_D.motor.i[3],asm_Y_D.motor.psi_s[1],asm_Y_D.motor.psi_s[2],asm_Y_D.motor.psi_rd[1],asm_Y_D.motor.psi_rq[1],loadInertia.w,frictTorq.phi) * Number of discrete variables: 4 ($whenCondition1,relay1.y,relay1.cnt,system.initime) * Number of discrete states: 3 (relay1.y,relay1.cnt,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000179/0.3389, allocations: 123.3 kB / 481.5 MB, free: 1.246 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00171/0.3406, allocations: 0.968 MB / 482.5 MB, free: 240 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3407, allocations: 0 / 482.5 MB, free: 240 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007883/0.3414, allocations: 0.6448 MB / 483.1 MB, free: 15.54 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006779/0.3421, allocations: 121.9 kB / 483.2 MB, free: 15.42 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002994/0.3451, allocations: 2.095 MB / 485.3 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006037/0.3458, allocations: 0.9839 MB / 486.3 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001315/0.3459, allocations: 43.42 kB / 486.3 MB, free: 12.23 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3459, allocations: 0 / 486.3 MB, free: 12.23 MB / 366.1 MB Notification: Performance of Templates: time 0.01851/0.3644, allocations: 14.57 MB / 0.4892 GB, free: 13.64 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_Y_DCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_Y_DCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_Y_DCalcHelperMain.o] Error 1