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.0008831/0.000883, allocations: 108.5 kB / 17.16 MB, free: 6.324 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.000872/0.0008722, allocations: 202.9 kB / 18.08 MB, free: 5.422 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.187/1.187, allocations: 205.1 MB / 223.9 MB, free: 12.4 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1551/0.1551, allocations: 37.99 MB / 309.3 MB, free: 6.234 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.001156/0.001156, allocations: 59.05 kB / 375.3 MB, free: 4.113 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1999/0.201, allocations: 55.24 MB / 430.5 MB, free: 19.81 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM_Y_D): time 0.005412/0.2065, allocations: 6.761 MB / 437.3 MB, free: 13.02 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00521/0.2117, allocations: 4.967 MB / 442.2 MB, free: 8.031 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005776/0.2123, allocations: 39.75 kB / 442.3 MB, free: 7.992 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006365/0.2187, allocations: 4.815 MB / 447.1 MB, free: 3.172 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007672/0.2195, allocations: 406.4 kB / 447.5 MB, free: 2.773 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004875/0.22, allocations: 251.7 kB / 447.7 MB, free: 2.527 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001466/0.2215, allocations: 2.292 MB / 450 MB, free: 236 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006976/0.2222, allocations: 0.6102 MB / 450.6 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004806/0.2227, allocations: 406.4 kB / 451 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005654/0.2232, allocations: 0.5255 MB / 451.6 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.614e-05/0.2233, allocations: 44 kB / 451.6 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002513/0.2236, allocations: 119.8 kB / 451.7 MB, free: 14.53 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002642/0.2239, allocations: 303.2 kB / 452 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003157/0.2242, allocations: 370.1 kB / 452.4 MB, free: 13.87 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006373/0.2248, allocations: 0.8185 MB / 453.2 MB, free: 13.05 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2248, allocations: 0 / 453.2 MB, free: 13.05 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.2248, allocations: 0 / 453.2 MB, free: 13.05 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.2249, allocations: 4 kB / 453.2 MB, free: 13.04 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.001649/0.2265, allocations: 1.025 MB / 454.2 MB, free: 11.96 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.453e-05/0.2266, allocations: 12.03 kB / 454.2 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003949/0.227, allocations: 99.95 kB / 454.3 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000946/0.2279, allocations: 0.5998 MB / 454.9 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.574e-05/0.228, allocations: 78.95 kB / 455 MB, free: 11.13 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.851e-05/0.2281, allocations: 67.98 kB / 455.1 MB, free: 11.06 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00109/0.2292, allocations: 0.8021 MB / 455.9 MB, free: 10.22 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.424e-05/0.2292, allocations: 11.83 kB / 455.9 MB, free: 10.21 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.625e-05/0.2293, allocations: 28 kB / 455.9 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001258/0.2294, allocations: 53.28 kB / 456 MB, free: 10.13 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008352/0.2303, allocations: 0.5828 MB / 456.5 MB, free: 9.551 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003489/0.2338, allocations: 2.942 MB / 459.5 MB, free: 6.496 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007103/0.2345, allocations: 426.2 kB / 459.9 MB, free: 6.062 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002922/0.2348, allocations: 226.3 kB / 460.1 MB, free: 5.836 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.026e-05/0.2348, allocations: 4.328 kB / 460.1 MB, free: 5.832 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004443/0.2353, allocations: 343.5 kB / 460.5 MB, free: 5.473 MB / 334.1 MB Notification: Performance of pre-optimization done (n=42): time 2.234e-06/0.2353, allocations: 0 / 460.5 MB, free: 5.473 MB / 334.1 MB Notification: Performance of matching and sorting (n=45): time 0.002814/0.2381, allocations: 2.04 MB / 462.5 MB, free: 3.273 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.245e-05/0.2382, allocations: 140.4 kB / 462.6 MB, free: 3.105 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004274/0.2386, allocations: 449.8 kB / 463.1 MB, free: 2.656 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.407e-05/0.2387, allocations: 33.7 kB / 463.1 MB, free: 2.617 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002076/0.2389, allocations: 331.8 kB / 463.4 MB, free: 2.289 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001152/0.239, allocations: 161.7 kB / 463.6 MB, free: 2.129 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001575/0.2392, allocations: 114.2 kB / 463.7 MB, free: 2.008 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.2393, allocations: 362.8 kB / 464.1 MB, free: 1.645 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003334/0.2396, allocations: 241.2 kB / 464.3 MB, free: 1.41 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004256/0.2401, allocations: 389.7 kB / 464.7 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002535/0.2426, allocations: 1.331 MB / 466 MB, free: 15.53 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.2426, allocations: 4 kB / 466 MB, free: 15.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001653/0.2443, allocations: 0.9709 MB / 467 MB, free: 14.54 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.651e-05/0.2444, allocations: 37.73 kB / 467 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.2444, allocations: 7.938 kB / 467 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008563/0.2452, allocations: 301.5 kB / 467.3 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008114/0.2461, allocations: 171.8 kB / 467.5 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005965/0.252, allocations: 4.857 MB / 472.3 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002901/0.2523, allocations: 23.98 kB / 472.4 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.026e-05/0.2524, allocations: 20 kB / 472.4 MB, free: 8.863 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 system: $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.0003438/0.2527, allocations: 295.3 kB / 472.7 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.581e-05/0.2528, allocations: 51.34 kB / 472.7 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001056/0.2539, allocations: 0.8168 MB / 473.5 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.2539, allocations: 8 kB / 473.6 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.2539, allocations: 0 / 473.6 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.2539, allocations: 0 / 473.6 MB, free: 7.625 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.002063/0.256, allocations: 1.686 MB / 475.2 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.256, allocations: 0 / 475.2 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001054/0.257, allocations: 191.9 kB / 475.4 MB, free: 5.621 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001998/0.2573, allocations: 74.53 kB / 475.5 MB, free: 5.539 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.573e-05/0.2573, allocations: 15.98 kB / 475.5 MB, free: 5.523 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002493/0.2598, allocations: 3.961 MB / 479.5 MB, free: 1.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2598, allocations: 0 / 479.5 MB, free: 1.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001309/0.2611, allocations: 1.126 MB / 480.6 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001824/0.2613, allocations: 168.5 kB / 480.8 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.136e-05/0.2614, allocations: 23.83 kB / 480.8 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00024/0.2617, allocations: 23.92 kB / 480.8 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.037e-05/0.2617, allocations: 35.84 kB / 480.8 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.114e-05/0.2618, allocations: 15.98 kB / 480.9 MB, free: 15.67 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003036/0.2621, allocations: 311.1 kB / 481.2 MB, free: 15.37 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2621, allocations: 0 / 481.2 MB, free: 15.37 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006103/0.2627, allocations: 164 kB / 481.3 MB, free: 15.21 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.0001255/0.2629, allocations: 119.2 kB / 481.4 MB, free: 15.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001522/0.2644, allocations: 0.9638 MB / 482.4 MB, free: 14.08 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2644, allocations: 0.8125 kB / 482.4 MB, free: 14.08 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006696/0.2651, allocations: 0.6477 MB / 483.1 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006408/0.2657, allocations: 133.9 kB / 483.2 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002399/0.2681, allocations: 1.969 MB / 485.2 MB, free: 11.24 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005038/0.2686, allocations: 0.9838 MB / 486.1 MB, free: 10.22 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/0.2688, allocations: 43.44 kB / 486.2 MB, free: 10.18 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2688, allocations: 0 / 486.2 MB, free: 10.18 MB / 366.1 MB Notification: Performance of Templates: time 0.01474/0.2835, allocations: 14.64 MB / 0.4891 GB, free: 11.53 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