Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.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.Elementary.Machines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines") translateModel(PowerSystems.Examples.AC3ph.Elementary.Machines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009086/0.0009086, allocations: 109 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.0008882/0.0008882, 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.189/1.189, 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.1564/0.1564, allocations: 37.98 MB / 309.2 MB, free: 6.238 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.001176/0.001176, allocations: 67.59 kB / 375.3 MB, free: 4.109 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.195, allocations: 55.24 MB / 430.5 MB, free: 20.05 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Machines): time 0.006208/0.2012, allocations: 6.224 MB / 436.7 MB, free: 13.79 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006248/0.2075, allocations: 4.605 MB / 441.3 MB, free: 9.172 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005052/0.208, allocations: 35.75 kB / 441.4 MB, free: 9.137 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006095/0.2141, allocations: 4.748 MB / 446.1 MB, free: 4.383 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005678/0.2147, allocations: 334.5 kB / 446.4 MB, free: 4.055 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004748/0.2152, allocations: 227.7 kB / 446.7 MB, free: 3.832 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001585/0.2168, allocations: 2.125 MB / 448.8 MB, free: 1.703 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000457/0.2173, allocations: 340.2 kB / 449.1 MB, free: 1.371 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003915/0.2177, allocations: 318.6 kB / 449.4 MB, free: 1.059 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005191/0.2182, allocations: 470.3 kB / 449.9 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.615e-05/0.2183, allocations: 28 kB / 449.9 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002649/0.2186, allocations: 123.8 kB / 450 MB, free: 460 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002069/0.2188, allocations: 267.2 kB / 450.3 MB, free: 192 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003467/0.2191, allocations: 306.4 kB / 450.6 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005431/0.2197, allocations: 0.569 MB / 451.2 MB, free: 15.31 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.2197, allocations: 0 / 451.2 MB, free: 15.31 MB / 334.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.2197, allocations: 0 / 451.2 MB, free: 15.31 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.047e-05/0.2197, allocations: 0 / 451.2 MB, free: 15.31 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001697/0.2214, allocations: 0.9055 MB / 452.1 MB, free: 14.36 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.2215, allocations: 12.03 kB / 452.1 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004426/0.2219, allocations: 96.05 kB / 452.2 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009385/0.2229, allocations: 0.5332 MB / 452.7 MB, free: 13.68 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.694e-05/0.2229, allocations: 37 kB / 452.8 MB, free: 13.64 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.675e-05/0.223, allocations: 51.89 kB / 452.8 MB, free: 13.59 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009255/0.2239, allocations: 0.6491 MB / 453.5 MB, free: 12.9 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.224, allocations: 0 / 453.5 MB, free: 12.9 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.787e-05/0.224, allocations: 23.98 kB / 453.5 MB, free: 12.88 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001257/0.2241, allocations: 48.95 kB / 453.5 MB, free: 12.83 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007355/0.2249, allocations: 495.6 kB / 454 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003139/0.228, allocations: 2.531 MB / 456.5 MB, free: 9.676 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004448/0.2285, allocations: 315.6 kB / 456.9 MB, free: 9.34 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002464/0.2287, allocations: 179 kB / 457 MB, free: 9.156 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.203e-05/0.2288, allocations: 11.97 kB / 457 MB, free: 9.145 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.2288, allocations: 46.56 kB / 457.1 MB, free: 9.09 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 1.533e-06/0.2288, allocations: 0 / 457.1 MB, free: 9.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=33): time 0.002292/0.2311, allocations: 1.633 MB / 458.7 MB, free: 7.32 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.389e-05/0.2312, allocations: 110.8 kB / 458.8 MB, free: 7.188 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003994/0.2316, allocations: 425.8 kB / 459.2 MB, free: 6.77 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.623e-05/0.2317, allocations: 33.64 kB / 459.3 MB, free: 6.73 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001943/0.2319, allocations: 307.6 kB / 459.6 MB, free: 6.422 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.429e-05/0.232, allocations: 118.2 kB / 459.7 MB, free: 6.305 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001272/0.2321, allocations: 90.28 kB / 459.8 MB, free: 6.211 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.2323, allocations: 362.7 kB / 460.1 MB, free: 5.848 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002595/0.2325, allocations: 169 kB / 460.3 MB, free: 5.68 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003423/0.2329, allocations: 294.3 kB / 460.6 MB, free: 5.34 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006014/0.2335, allocations: 491.4 kB / 461.1 MB, free: 4.801 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.2335, allocations: 8 kB / 461.1 MB, free: 4.793 MB / 334.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001236/0.2347, allocations: 0.7997 MB / 461.9 MB, free: 3.961 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.2348, allocations: 8 kB / 461.9 MB, free: 3.953 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.2348, allocations: 4 kB / 461.9 MB, free: 3.949 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006066/0.2354, allocations: 209.5 kB / 462.1 MB, free: 3.738 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002855/0.2357, allocations: 75.83 kB / 462.2 MB, free: 3.664 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00411/0.2398, allocations: 3.891 MB / 466.1 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002366/0.2401, allocations: 19.98 kB / 466.1 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.741e-05/0.2401, allocations: 20 kB / 466.1 MB, free: 15.46 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (40): * Single equations (assignments): 38 * 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 {(3,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0002579/0.2404, allocations: 225.7 kB / 466.3 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.731e-05/0.2405, allocations: 47.38 kB / 466.4 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008201/0.2413, allocations: 0.641 MB / 467 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.2413, allocations: 4 kB / 467 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.2413, allocations: 0 / 467 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.2413, allocations: 0 / 467 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001511/0.2428, allocations: 1.211 MB / 468.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.2429, allocations: 0 / 468.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004112/0.2433, allocations: 75.95 kB / 468.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001354/0.2434, allocations: 53.67 kB / 468.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.322e-05/0.2435, allocations: 11.98 kB / 468.4 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001726/0.2452, allocations: 2.63 MB / 471 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.2452, allocations: 0 / 471 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/0.2462, allocations: 0.9607 MB / 471.9 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001514/0.2464, allocations: 144.4 kB / 472.1 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.704e-05/0.2465, allocations: 11.94 kB / 472.1 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002418/0.2467, allocations: 11.98 kB / 472.1 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.666e-05/0.2468, allocations: 31.97 kB / 472.1 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.691e-05/0.2468, allocations: 15.98 kB / 472.2 MB, free: 8.879 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002807/0.2471, allocations: 291.1 kB / 472.4 MB, free: 8.594 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2471, allocations: 3.938 kB / 472.4 MB, free: 8.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005161/0.2476, allocations: 132 kB / 472.6 MB, free: 8.461 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (asynchron.i[3],asynchron.phi_el,asynchron.psi_s[1],asynchron.psi_s[2],asynchron.psi_rd[1],asynchron.psi_rq[1],rotor.w) * 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 (35): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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): 2 systems {(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.000119/0.2477, allocations: 111.2 kB / 472.7 MB, free: 8.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001139/0.2489, allocations: 0.7358 MB / 473.4 MB, free: 7.578 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.2489, allocations: 0 / 473.4 MB, free: 7.578 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004773/0.2494, allocations: 409.2 kB / 473.8 MB, free: 7.152 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006789/0.2501, allocations: 114.2 kB / 473.9 MB, free: 7.043 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002222/0.2523, allocations: 1.77 MB / 475.7 MB, free: 5.23 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005216/0.2528, allocations: 0.9405 MB / 476.6 MB, free: 4.266 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/0.253, allocations: 43.41 kB / 476.7 MB, free: 4.223 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.253, allocations: 0 / 476.7 MB, free: 4.223 MB / 350.1 MB Notification: Performance of Templates: time 0.01307/0.2661, allocations: 11.26 MB / 487.9 MB, free: 8.945 MB / 366.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.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.Elementary.MachinesCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC3ph.Elementary.MachinesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC3ph.Elementary.MachinesCalcHelperMain.o] Error 1