Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.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.ASMav,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2400,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav") translateModel(PowerSystems.Examples.AC3ph.Drives.ASMav,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2400,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 92.59 kB / 17.31 MB, free: 5.59 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.00112/0.00112, allocations: 175.9 kB / 18.21 MB, free: 5.191 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.826/1.826, allocations: 205.4 MB / 224.4 MB, free: 12.93 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1957/0.1957, allocations: 38.06 MB / 310.7 MB, free: 5.875 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.0005945/0.0005945, allocations: 16.47 kB / 377.8 MB, free: 2.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.3126, allocations: 56.33 MB / 434.2 MB, free: 18.66 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav): time 0.007992/0.3207, allocations: 7.887 MB / 442 MB, free: 10.73 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008044/0.3287, allocations: 5.482 MB / 447.5 MB, free: 5.234 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001077/0.3299, allocations: 55.62 kB / 447.6 MB, free: 5.18 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008118/0.338, allocations: 5.44 MB / 453 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001835/0.3399, allocations: 493.9 kB / 453.5 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001414/0.3413, allocations: 441.7 kB / 453.9 MB, free: 14.81 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003701/0.345, allocations: 2.94 MB / 456.9 MB, free: 11.87 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001709/0.3467, allocations: 1.017 MB / 457.9 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008774/0.3476, allocations: 497.8 kB / 458.4 MB, free: 10.32 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001012/0.3486, allocations: 0.7123 MB / 459.1 MB, free: 9.605 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001087/0.3487, allocations: 51.94 kB / 459.1 MB, free: 9.555 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000541/0.3493, allocations: 207.8 kB / 459.3 MB, free: 9.352 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004518/0.3498, allocations: 450.7 kB / 459.8 MB, free: 8.91 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005721/0.3503, allocations: 0.538 MB / 460.3 MB, free: 8.363 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001216/0.3516, allocations: 1.181 MB / 461.5 MB, free: 7.18 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3516, allocations: 0 / 461.5 MB, free: 7.18 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3516, allocations: 0 / 461.5 MB, free: 7.18 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.406e-05/0.3516, allocations: 0 / 461.5 MB, free: 7.18 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: 220 * Number of variables: 220 Notification: Performance of Generate backend data structure: time 0.00278/0.3544, allocations: 1.25 MB / 462.7 MB, free: 5.875 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.3545, allocations: 12.03 kB / 462.8 MB, free: 5.863 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006216/0.3551, allocations: 151.5 kB / 462.9 MB, free: 5.715 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00159/0.3567, allocations: 0.8782 MB / 463.8 MB, free: 4.797 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.13e-05/0.3568, allocations: 61.98 kB / 463.8 MB, free: 4.734 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001732/0.357, allocations: 87.91 kB / 463.9 MB, free: 4.648 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001899/0.3589, allocations: 1.235 MB / 465.2 MB, free: 3.344 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.119e-05/0.3589, allocations: 7.938 kB / 465.2 MB, free: 3.336 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.367e-05/0.359, allocations: 35.98 kB / 465.2 MB, free: 3.301 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002246/0.3592, allocations: 85.95 kB / 465.3 MB, free: 3.215 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001685/0.3609, allocations: 1.003 MB / 466.3 MB, free: 2.215 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006785/0.3677, allocations: 4.94 MB / 471.2 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009979/0.3687, allocations: 0.6563 MB / 471.9 MB, free: 12.37 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005689/0.3693, allocations: 367.4 kB / 472.3 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.544e-05/0.3694, allocations: 16.48 kB / 472.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006615/0.3701, allocations: 441.8 kB / 472.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of pre-optimization done (n=62): time 2.003e-06/0.3701, allocations: 0 / 472.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.004863/0.3749, allocations: 2.715 MB / 475.4 MB, free: 8.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.521e-05/0.375, allocations: 115.4 kB / 475.5 MB, free: 8.543 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009458/0.376, allocations: 0.7506 MB / 476.3 MB, free: 7.781 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.684e-05/0.3761, allocations: 41.7 kB / 476.3 MB, free: 7.734 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003863/0.3765, allocations: 0.4948 MB / 476.8 MB, free: 7.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002139/0.3767, allocations: 236.6 kB / 477 MB, free: 6.996 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000135/0.3768, allocations: 85.67 kB / 477.1 MB, free: 6.906 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002381/0.3771, allocations: 406.7 kB / 477.5 MB, free: 6.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005828/0.3777, allocations: 373.8 kB / 477.9 MB, free: 6.133 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008273/0.3785, allocations: 0.6576 MB / 478.5 MB, free: 5.348 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001399/0.3799, allocations: 1.049 MB / 479.6 MB, free: 4.176 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.3799, allocations: 0 / 479.6 MB, free: 4.176 MB / 350.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002917/0.3828, allocations: 1.63 MB / 481.2 MB, free: 2.512 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.3829, allocations: 11.98 kB / 481.2 MB, free: 2.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.858e-05/0.3829, allocations: 8.5 kB / 481.2 MB, free: 2.492 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001484/0.3844, allocations: 493.7 kB / 481.7 MB, free: 2.004 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006053/0.385, allocations: 171.7 kB / 481.9 MB, free: 1.836 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009202/0.3942, allocations: 6.521 MB / 488.4 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008106/0.3951, allocations: 55.88 kB / 488.5 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.861e-05/0.3952, allocations: 47.98 kB / 488.5 MB, free: 10.94 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * 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 (89): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(6,23)} Notification: Performance of prepare postOptimizeDAE: time 0.0006369/0.3958, allocations: 357.4 kB / 488.9 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001367/0.3959, allocations: 82.97 kB / 489 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001911/0.3979, allocations: 1.114 MB / 490.1 MB, free: 9.328 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.726e-06/0.3979, allocations: 8 kB / 490.1 MB, free: 9.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.3979, allocations: 0 / 490.1 MB, free: 9.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.826e-06/0.3979, allocations: 3.984 kB / 490.1 MB, free: 9.316 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003424/0.4013, allocations: 2.115 MB / 492.2 MB, free: 7.086 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.4014, allocations: 8.109 kB / 492.2 MB, free: 7.078 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007011/0.4021, allocations: 123.8 kB / 492.3 MB, free: 6.957 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005265/0.4026, allocations: 166.5 kB / 492.5 MB, free: 6.785 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.398e-05/0.4027, allocations: 23.98 kB / 492.5 MB, free: 6.762 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004002/0.4067, allocations: 4.454 MB / 497 MB, free: 1.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.4067, allocations: 0 / 497 MB, free: 1.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002338/0.409, allocations: 1.533 MB / 498.5 MB, free: 308 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003564/0.4094, allocations: 227.9 kB / 498.7 MB, free: 60 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/0.4095, allocations: 19.98 kB / 498.7 MB, free: 40 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004147/0.41, allocations: 39.91 kB / 498.8 MB, free: 0 / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001563/0.4101, allocations: 52.66 kB / 498.8 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.708e-05/0.4102, allocations: 23.94 kB / 498.8 MB, free: 15.93 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007229/0.4109, allocations: 0.5146 MB / 499.4 MB, free: 15.42 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4109, allocations: 0 / 499.4 MB, free: 15.42 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00114/0.4121, allocations: 264.1 kB / 499.6 MB, free: 15.16 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 13 (power.pav[1],power.pav[2],power.pav[3],asm.rotor.phi,asm.rotor.w,asm.motor.i[3],asm.motor.psi_s[1],asm.motor.psi_s[2],asm.motor.psi_rd[1],asm.motor.psi_rd[2],asm.motor.psi_rq[1],asm.motor.psi_rq[2],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 (59): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (2,1,100.0%), (2,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.001054/0.4131, allocations: 407.5 kB / 0.4883 GB, free: 14.8 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002478/0.4156, allocations: 1.319 MB / 0.4896 GB, free: 13.46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.4156, allocations: 384 / 0.4896 GB, free: 13.46 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001218/0.4169, allocations: 0.7844 MB / 0.4904 GB, free: 12.64 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001147/0.418, allocations: 201.2 kB / 0.4905 GB, free: 12.44 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004909/0.4229, allocations: 3.393 MB / 0.4939 GB, free: 9 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009455/0.4239, allocations: 1.151 MB / 0.495 GB, free: 7.816 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002471/0.4242, allocations: 71.41 kB / 0.4951 GB, free: 7.746 MB / 382.1 MB Notification: Performance of SimCode: time 8.31e-07/0.4242, allocations: 0 / 0.4951 GB, free: 7.746 MB / 382.1 MB Notification: Performance of Templates: time 0.03004/0.4542, allocations: 22.68 MB / 0.5172 GB, free: 1.023 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.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.AC3ph.Drives.ASMavCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMavCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMavCalcHelperMain.o] Error 1