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.0009027/0.0009028, allocations: 92.36 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.001143/0.001143, allocations: 172 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.775/1.775, 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.1793/0.1793, allocations: 38.06 MB / 310.7 MB, free: 5.898 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.0006363/0.0006367, allocations: 15.98 kB / 377.8 MB, free: 2.699 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.3084, allocations: 56.33 MB / 434.1 MB, free: 18.67 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM_Y_D): time 0.006587/0.315, allocations: 6.329 MB / 440.5 MB, free: 12.31 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007612/0.3227, allocations: 4.866 MB / 445.3 MB, free: 7.43 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009055/0.3236, allocations: 43.75 kB / 445.4 MB, free: 7.387 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006997/0.3306, allocations: 4.59 MB / 450 MB, free: 2.789 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001713/0.3324, allocations: 414.4 kB / 450.4 MB, free: 2.383 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009379/0.3333, allocations: 251.7 kB / 450.6 MB, free: 2.137 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002412/0.3358, allocations: 2.288 MB / 452.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001575/0.3373, allocations: 0.8445 MB / 453.8 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006565/0.338, allocations: 386.5 kB / 454.1 MB, free: 14.58 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006997/0.3387, allocations: 0.4904 MB / 454.6 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.727e-05/0.3388, allocations: 32 kB / 454.7 MB, free: 14.06 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002842/0.3391, allocations: 115.8 kB / 454.8 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002878/0.3394, allocations: 287.2 kB / 455.1 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003671/0.3398, allocations: 371.9 kB / 455.4 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007721/0.3406, allocations: 0.8026 MB / 456.2 MB, free: 12.49 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.675e-06/0.3406, allocations: 7.984 kB / 456.2 MB, free: 12.48 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.3406, allocations: 0 / 456.2 MB, free: 12.48 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.357e-06/0.3406, allocations: 0 / 456.2 MB, free: 12.48 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.001819/0.3424, allocations: 0.8844 MB / 457.1 MB, free: 11.54 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.3425, allocations: 12.03 kB / 457.1 MB, free: 11.53 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004497/0.3429, allocations: 99.97 kB / 457.2 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001077/0.344, allocations: 0.6074 MB / 457.8 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000118/0.3442, allocations: 78.95 kB / 457.9 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001197/0.3443, allocations: 63.89 kB / 458 MB, free: 10.64 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001328/0.3456, allocations: 0.806 MB / 458.8 MB, free: 9.793 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.856e-05/0.3457, allocations: 4 kB / 458.8 MB, free: 9.789 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.665e-05/0.3457, allocations: 20 kB / 458.8 MB, free: 9.77 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001312/0.3459, allocations: 61.16 kB / 458.9 MB, free: 9.711 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009838/0.3469, allocations: 0.5867 MB / 459.4 MB, free: 9.125 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004116/0.351, allocations: 2.942 MB / 462.4 MB, free: 6.07 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008296/0.3518, allocations: 426.2 kB / 462.8 MB, free: 5.637 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003401/0.3522, allocations: 230.3 kB / 463 MB, free: 5.406 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.264e-05/0.3522, allocations: 4.328 kB / 463 MB, free: 5.402 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005401/0.3528, allocations: 343.8 kB / 463.4 MB, free: 5.043 MB / 334.1 MB Notification: Performance of pre-optimization done (n=42): time 3.115e-06/0.3528, allocations: 0 / 463.4 MB, free: 5.043 MB / 334.1 MB Notification: Performance of matching and sorting (n=45): time 0.003889/0.3567, allocations: 2.04 MB / 465.4 MB, free: 2.844 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/0.3568, allocations: 144.4 kB / 465.5 MB, free: 2.672 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005397/0.3574, allocations: 449.9 kB / 466 MB, free: 2.223 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.736e-05/0.3574, allocations: 37.7 kB / 466 MB, free: 2.18 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003127/0.3577, allocations: 327.8 kB / 466.3 MB, free: 1.855 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001526/0.3579, allocations: 157.8 kB / 466.5 MB, free: 1.699 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.274e-05/0.358, allocations: 57.69 kB / 466.6 MB, free: 1.637 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002086/0.3582, allocations: 362.8 kB / 466.9 MB, free: 1.273 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003998/0.3586, allocations: 233.2 kB / 467.1 MB, free: 1.043 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004965/0.3591, allocations: 393.7 kB / 467.5 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002968/0.3621, allocations: 1.343 MB / 468.9 MB, free: 15.15 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.3621, allocations: 0 / 468.9 MB, free: 15.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00194/0.3641, allocations: 0.9668 MB / 469.8 MB, free: 14.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.808e-05/0.3642, allocations: 33.7 kB / 469.9 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.3642, allocations: 4 kB / 469.9 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009716/0.3652, allocations: 320.6 kB / 470.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001202/0.3664, allocations: 175.7 kB / 470.4 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006845/0.3732, allocations: 4.854 MB / 475.2 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000432/0.3737, allocations: 23.98 kB / 475.2 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.655e-05/0.3737, allocations: 24 kB / 475.3 MB, free: 8.473 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,relay1.cnt,$PRE.relay1.cnt,$whenCondition1,relay1.y,$PRE.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 (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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0005238/0.3743, allocations: 287.4 kB / 475.5 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.516e-05/0.3744, allocations: 51.44 kB / 475.6 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001254/0.3756, allocations: 0.8284 MB / 476.4 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.3756, allocations: 4 kB / 476.4 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.3756, allocations: 0 / 476.4 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.3757, allocations: 0 / 476.4 MB, free: 7.234 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.002399/0.3781, allocations: 1.683 MB / 478.1 MB, free: 5.422 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.3781, allocations: 0 / 478.1 MB, free: 5.422 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001281/0.3794, allocations: 195.9 kB / 478.3 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002533/0.3796, allocations: 74.47 kB / 478.4 MB, free: 5.148 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.504e-05/0.3797, allocations: 19.98 kB / 478.4 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003569/0.3833, allocations: 3.961 MB / 482.3 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3833, allocations: 0 / 482.3 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001629/0.3849, allocations: 1.126 MB / 483.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002444/0.3852, allocations: 172.4 kB / 483.6 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.763e-05/0.3853, allocations: 15.94 kB / 483.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002562/0.3855, allocations: 19.98 kB / 483.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.662e-05/0.3856, allocations: 31.95 kB / 483.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.492e-05/0.3857, allocations: 19.98 kB / 483.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004033/0.3861, allocations: 311.1 kB / 484 MB, free: 14.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3861, allocations: 0 / 484 MB, free: 14.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000779/0.3869, allocations: 164 kB / 484.2 MB, free: 14.82 MB / 366.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 (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,1,100.0%), (1,1,100.0%), (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.0001994/0.3871, allocations: 127.1 kB / 484.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001807/0.3889, allocations: 0.9831 MB / 485.3 MB, free: 13.67 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.3889, allocations: 0.8125 kB / 485.3 MB, free: 13.67 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007882/0.3897, allocations: 0.6439 MB / 485.9 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007637/0.3905, allocations: 118 kB / 486.1 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003204/0.3937, allocations: 2.111 MB / 488.2 MB, free: 10.7 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006272/0.3943, allocations: 0.9877 MB / 489.2 MB, free: 9.684 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001318/0.3945, allocations: 39.44 kB / 489.2 MB, free: 9.648 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3945, allocations: 3.938 kB / 489.2 MB, free: 9.645 MB / 366.1 MB Notification: Performance of Templates: time 0.01899/0.4135, allocations: 14.56 MB / 0.4919 GB, free: 11.07 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++ -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.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