Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.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.BLDCcharSpeed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000933/0.000933, allocations: 110.3 kB / 17.16 MB, free: 6.082 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.0008761/0.0008765, allocations: 198.9 kB / 18.08 MB, free: 5.285 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.171/1.171, allocations: 205.1 MB / 223.9 MB, free: 12.47 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1559/0.1559, allocations: 37.99 MB / 309.2 MB, free: 6.246 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.001161/0.001161, allocations: 59.92 kB / 375.3 MB, free: 4.113 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.18/0.1812, allocations: 55.24 MB / 430.5 MB, free: 19.78 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed): time 0.005569/0.1868, allocations: 7.17 MB / 437.7 MB, free: 12.57 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002697/0.1895, allocations: 2.976 MB / 440.7 MB, free: 9.586 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002877/0.1898, allocations: 43.75 kB / 440.7 MB, free: 9.543 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007393/0.1906, allocations: 318.4 kB / 441 MB, free: 9.23 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007025/0.1913, allocations: 0.5213 MB / 441.5 MB, free: 8.707 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000354/0.1916, allocations: 259.7 kB / 441.8 MB, free: 8.453 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009148/0.1926, allocations: 1.617 MB / 443.4 MB, free: 6.832 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005821/0.1932, allocations: 0.6997 MB / 444.1 MB, free: 6.125 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000308/0.1935, allocations: 418.2 kB / 444.5 MB, free: 5.715 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004299/0.1939, allocations: 0.5411 MB / 445.1 MB, free: 5.172 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.721e-05/0.194, allocations: 48 kB / 445.1 MB, free: 5.125 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003325/0.1943, allocations: 291.5 kB / 445.4 MB, free: 4.84 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001914/0.1945, allocations: 303.2 kB / 445.7 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002634/0.1948, allocations: 421.9 kB / 446.1 MB, free: 4.129 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005642/0.1954, allocations: 1.076 MB / 447.2 MB, free: 3.051 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.1954, allocations: 0 / 447.2 MB, free: 3.051 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.31e-07/0.1954, allocations: 0 / 447.2 MB, free: 3.051 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.665e-06/0.1954, allocations: 0 / 447.2 MB, free: 3.051 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: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.001566/0.197, allocations: 1.149 MB / 448.3 MB, free: 1.852 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.008e-05/0.197, allocations: 8.031 kB / 448.3 MB, free: 1.844 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005481/0.1976, allocations: 131.8 kB / 448.5 MB, free: 1.715 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007754/0.1984, allocations: 0.6671 MB / 449.1 MB, free: 1.004 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.118e-05/0.1984, allocations: 79.64 kB / 449.2 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.512e-05/0.1985, allocations: 67.98 kB / 449.3 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001088/0.1996, allocations: 0.953 MB / 450.2 MB, free: 15.86 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.492e-05/0.1997, allocations: 7.938 kB / 450.2 MB, free: 15.85 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.265e-05/0.1997, allocations: 24 kB / 450.2 MB, free: 15.83 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.086e-05/0.1998, allocations: 61.28 kB / 450.3 MB, free: 15.77 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001156/0.201, allocations: 0.778 MB / 451.1 MB, free: 14.99 MB / 334.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 preOpt removeSimpleEquations (simulation): time 0.004179/0.2052, allocations: 3.867 MB / 455 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007154/0.2059, allocations: 0.5245 MB / 455.5 MB, free: 10.34 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003783/0.2063, allocations: 231.1 kB / 455.7 MB, free: 10.1 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.142e-05/0.2063, allocations: 8 kB / 455.7 MB, free: 10.09 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.2064, allocations: 46.41 kB / 455.8 MB, free: 10.04 MB / 334.1 MB Notification: Performance of pre-optimization done (n=37): time 2.044e-06/0.2064, allocations: 0 / 455.8 MB, free: 10.04 MB / 334.1 MB Notification: Performance of matching and sorting (n=55): time 0.009905/0.2163, allocations: 3.743 MB / 459.5 MB, free: 6.129 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.209e-05/0.2164, allocations: 115.2 kB / 459.6 MB, free: 5.992 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005753/0.217, allocations: 0.5222 MB / 460.1 MB, free: 5.461 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.99e-05/0.217, allocations: 33.7 kB / 460.2 MB, free: 5.422 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002351/0.2172, allocations: 399 kB / 460.6 MB, free: 5.023 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001373/0.2174, allocations: 197.2 kB / 460.7 MB, free: 4.828 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001846/0.2176, allocations: 126.6 kB / 460.9 MB, free: 4.699 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.2177, allocations: 374.8 kB / 461.2 MB, free: 4.324 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004256/0.2182, allocations: 281.8 kB / 461.5 MB, free: 4.047 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005456/0.2187, allocations: 0.5072 MB / 462 MB, free: 3.438 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/0.2198, allocations: 0.852 MB / 462.9 MB, free: 2.484 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.2198, allocations: 0 / 462.9 MB, free: 2.484 MB / 334.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003024/0.2228, allocations: 1.445 MB / 464.3 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.2228, allocations: 13.34 kB / 464.3 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.2229, allocations: 8 kB / 464.3 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001444/0.2243, allocations: 454.8 kB / 464.8 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004087/0.2247, allocations: 119.8 kB / 464.9 MB, free: 400 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008881/0.2336, allocations: 8.435 MB / 473.3 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004887/0.2341, allocations: 31.91 kB / 473.4 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.8e-05/0.2342, allocations: 31.98 kB / 473.4 MB, free: 7.355 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (61): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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,9,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0003895/0.2346, allocations: 309.5 kB / 473.7 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/0.2347, allocations: 63.39 kB / 473.8 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002799/0.2375, allocations: 1.31 MB / 475.1 MB, free: 5.613 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.2375, allocations: 8 kB / 475.1 MB, free: 5.605 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.2375, allocations: 4 kB / 475.1 MB, free: 5.602 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/0.2375, allocations: 3.984 kB / 475.1 MB, free: 5.598 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00387/0.2414, allocations: 2.241 MB / 477.3 MB, free: 3.238 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.2414, allocations: 7.938 kB / 477.3 MB, free: 3.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003091/0.2418, allocations: 64.05 kB / 477.4 MB, free: 3.168 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001275/0.243, allocations: 435 kB / 477.8 MB, free: 2.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.673e-05/0.2431, allocations: 12 kB / 477.8 MB, free: 2.719 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008246/0.2514, allocations: 8.179 MB / 486 MB, free: 10 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.2514, allocations: 0 / 486 MB, free: 10 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003276/0.2547, allocations: 1.847 MB / 487.9 MB, free: 8.078 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002509/0.2549, allocations: 196.3 kB / 488.1 MB, free: 7.867 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.069e-05/0.255, allocations: 12 kB / 488.1 MB, free: 7.855 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003699/0.2554, allocations: 19.98 kB / 488.1 MB, free: 7.836 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001499/0.2555, allocations: 64.53 kB / 488.1 MB, free: 7.773 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.634e-05/0.2556, allocations: 19.98 kB / 488.2 MB, free: 7.754 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004174/0.256, allocations: 370.8 kB / 488.5 MB, free: 7.395 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.312e-06/0.256, allocations: 0 / 488.5 MB, free: 7.395 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008766/0.2569, allocations: 255.9 kB / 488.8 MB, free: 7.145 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (machine.rotor.w,machine.motor.phi_el) * 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 (31): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,9,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002523/0.2572, allocations: 142.4 kB / 488.9 MB, free: 7 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001842/0.259, allocations: 1.335 MB / 490.3 MB, free: 5.613 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.259, allocations: 0 / 490.3 MB, free: 5.613 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001155/0.2602, allocations: 0.9667 MB / 491.2 MB, free: 4.598 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008377/0.261, allocations: 165.6 kB / 491.4 MB, free: 4.438 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002461/0.2635, allocations: 2.069 MB / 493.4 MB, free: 2.312 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005773/0.2641, allocations: 1.048 MB / 494.5 MB, free: 1.234 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000119/0.2642, allocations: 51.42 kB / 494.5 MB, free: 1.184 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2642, allocations: 0 / 494.5 MB, free: 1.184 MB / 366.1 MB Notification: Performance of Templates: time 0.02204/0.2863, allocations: 24.6 MB / 0.507 GB, free: 8.547 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.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.BLDCcharSpeedCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeedCalcHelperMain.o] Error 1