Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Generation.TurboGeneratorLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|busbar.alpha_v|busbar1.alpha_v|sensor.p.1.|sensor.p.2.|sensor.p.3.|sensor1.p.1.|sensor1.p.2.|sensor1.p.3.|turboGen.generator.powerAngle",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine") translateModel(PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|busbar.alpha_v|busbar1.alpha_v|sensor.p.1.|sensor.p.2.|sensor.p.3.|sensor1.p.1.|sensor1.p.2.|sensor1.p.3.|turboGen.generator.powerAngle",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007719/0.0007716, allocations: 95.31 kB / 16.95 MB, free: 5.953 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.0008131/0.0008132, allocations: 179.9 kB / 17.84 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 223.2 MB / 241.8 MB, free: 240 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1679/0.1679, allocations: 38.1 MB / 331.1 MB, free: 8.859 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002987/0.0002987, allocations: 8 kB / 400.7 MB, free: 34.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1142, allocations: 59.17 MB / 459.9 MB, free: 7.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine): time 0.01128/0.1255, allocations: 10.91 MB / 470.8 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007963/0.1335, allocations: 4.201 MB / 475 MB, free: 8.273 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00155/0.1351, allocations: 71.56 kB / 475 MB, free: 8.203 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001039/0.1362, allocations: 341.6 kB / 475.4 MB, free: 7.867 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003048/0.1393, allocations: 0.9642 MB / 476.3 MB, free: 6.898 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001884/0.1412, allocations: 0.585 MB / 476.9 MB, free: 6.312 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00306/0.1442, allocations: 2.423 MB / 479.4 MB, free: 3.883 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002536/0.1468, allocations: 1.508 MB / 480.9 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001296/0.1481, allocations: 0.6728 MB / 481.5 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001276/0.1494, allocations: 0.9307 MB / 482.5 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001174/0.1495, allocations: 60 kB / 482.5 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009584/0.1505, allocations: 435.2 kB / 482.9 MB, free: 240 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005803/0.1511, allocations: 0.6272 MB / 483.6 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003318/0.1514, allocations: 301 kB / 483.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001653/0.1531, allocations: 1.761 MB / 485.6 MB, free: 13.54 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.1531, allocations: 0 / 485.6 MB, free: 13.54 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1531, allocations: 3.938 kB / 485.6 MB, free: 13.54 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.707e-05/0.1531, allocations: 0 / 485.6 MB, free: 13.54 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.002759/0.1559, allocations: 1.544 MB / 487.2 MB, free: 11.93 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.1559, allocations: 8.031 kB / 487.2 MB, free: 11.93 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00147/0.1574, allocations: 293.8 kB / 487.5 MB, free: 11.64 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001788/0.1592, allocations: 1.004 MB / 488.5 MB, free: 10.59 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.317e-05/0.1593, allocations: 94.34 kB / 488.6 MB, free: 10.5 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000322/0.1596, allocations: 143.9 kB / 488.7 MB, free: 10.36 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002661/0.1623, allocations: 1.697 MB / 490.4 MB, free: 8.586 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.097e-05/0.1623, allocations: 15.89 kB / 490.4 MB, free: 8.57 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001178/0.1625, allocations: 44 kB / 490.5 MB, free: 8.527 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002552/0.1627, allocations: 106.4 kB / 490.6 MB, free: 8.422 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002293/0.165, allocations: 1.434 MB / 492 MB, free: 6.98 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007882/0.1729, allocations: 6.111 MB / 498.1 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00106/0.174, allocations: 0.702 MB / 498.8 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006455/0.1747, allocations: 484.2 kB / 499.3 MB, free: 15.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.592e-05/0.1747, allocations: 8.656 kB / 499.3 MB, free: 15.31 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/0.1748, allocations: 39.22 kB / 499.3 MB, free: 15.26 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 3.316e-06/0.1748, allocations: 4 kB / 499.3 MB, free: 15.26 MB / 382.1 MB Notification: Performance of matching and sorting (n=83): time 0.008535/0.1833, allocations: 4.429 MB / 0.492 GB, free: 10.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.607e-05/0.1834, allocations: 166.9 kB / 0.4921 GB, free: 10.48 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/0.1845, allocations: 0.8295 MB / 0.4929 GB, free: 9.645 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.768e-05/0.1845, allocations: 41.7 kB / 0.493 GB, free: 9.598 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004795/0.185, allocations: 0.6312 MB / 0.4936 GB, free: 8.957 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002405/0.1853, allocations: 303.7 kB / 0.4939 GB, free: 8.656 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.553e-05/0.1853, allocations: 24 kB / 0.4939 GB, free: 8.633 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.1855, allocations: 345.9 kB / 0.4942 GB, free: 8.289 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007683/0.1863, allocations: 490.3 kB / 0.4947 GB, free: 7.809 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009834/0.1873, allocations: 0.7737 MB / 0.4955 GB, free: 6.918 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009074/0.1882, allocations: 0.6003 MB / 0.496 GB, free: 6.32 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/0.1882, allocations: 7.938 kB / 0.496 GB, free: 6.312 MB / 382.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.003594/0.1918, allocations: 1.913 MB / 0.4979 GB, free: 4.371 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002714/0.1921, allocations: 340.2 kB / 0.4982 GB, free: 3.926 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00289/0.195, allocations: 1.503 MB / 0.4997 GB, free: 2.406 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001791/0.1968, allocations: 0.5653 MB / 0.5003 GB, free: 1.828 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001455/0.1982, allocations: 487.4 kB / 0.5007 GB, free: 1.352 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2742/0.4725, allocations: 13.23 MB / 0.5136 GB, free: 44.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001395/0.4739, allocations: 69.91 kB / 0.5137 GB, free: 44.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001254/0.4741, allocations: 45.56 kB / 0.5138 GB, free: 44.83 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.4741, allocations: 4.375 kB / 0.5138 GB, free: 44.83 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004954/0.479, allocations: 1.727 MB / 0.5154 GB, free: 44.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003746/0.4828, allocations: 1.448 MB / 0.5169 GB, free: 43.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001881/0.4847, allocations: 0.5699 MB / 0.5174 GB, free: 43.53 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007941/0.4855, allocations: 224 kB / 0.5176 GB, free: 43.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009277/0.4948, allocations: 10.16 MB / 0.5275 GB, free: 35.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009093/0.4958, allocations: 61.56 kB / 0.5276 GB, free: 35.53 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.898e-05/0.4959, allocations: 42.72 kB / 0.5276 GB, free: 35.52 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (118): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 4,(2,100.0%) 8,(1,100.0%) 1} * Non-linear torn systems: 1 {2 11} Notification: Performance of prepare postOptimizeDAE: time 0.0007826/0.4967, allocations: 0.5058 MB / 0.5281 GB, free: 35.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001729/0.4968, allocations: 103.3 kB / 0.5282 GB, free: 35.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002406/0.4992, allocations: 1.428 MB / 0.5296 GB, free: 34.61 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/0.4993, allocations: 9.406 kB / 0.5296 GB, free: 34.61 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.4993, allocations: 8.5 kB / 0.5297 GB, free: 34.6 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.657e-06/0.4993, allocations: 3.891 kB / 0.5297 GB, free: 34.6 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004118/0.5034, allocations: 2.866 MB / 0.5325 GB, free: 33.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/0.5034, allocations: 2.938 kB / 0.5325 GB, free: 33.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005061/0.504, allocations: 140.4 kB / 0.5326 GB, free: 33.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000906/0.5049, allocations: 397 kB / 0.533 GB, free: 33.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.404e-05/0.505, allocations: 31.27 kB / 0.533 GB, free: 33.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005348/0.5103, allocations: 8.676 MB / 0.5415 GB, free: 25.2 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.5103, allocations: 3.719 kB / 0.5415 GB, free: 25.2 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002595/0.5129, allocations: 1.949 MB / 0.5434 GB, free: 24.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003865/0.5133, allocations: 261 kB / 0.5436 GB, free: 23.81 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001415/0.5135, allocations: 30.67 kB / 0.5437 GB, free: 23.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000501/0.514, allocations: 40.06 kB / 0.5437 GB, free: 23.78 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001651/0.5142, allocations: 79.11 kB / 0.5438 GB, free: 23.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.147e-05/0.5142, allocations: 26.98 kB / 0.5438 GB, free: 23.72 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007143/0.515, allocations: 0.5695 MB / 0.5444 GB, free: 23.38 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.515, allocations: 0 / 0.5444 GB, free: 23.38 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002325/0.5173, allocations: 0.6446 MB / 0.545 GB, free: 23.18 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 8 (turboGen.generator.i_s[1],turboGen.generator.i_s[2],turboGen.generator.i_s[3],turboGen.rotor.phi,turboGen.rotor.w,RLgen1.i[1],RLgen1.i[2],RLgen1.i[3]) * 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 (66): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(2,100.0%) 10,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 1,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003229/0.5176, allocations: 148.9 kB / 0.5451 GB, free: 23.04 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004885/0.5225, allocations: 3.539 MB / 0.5486 GB, free: 19.38 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.5226, allocations: 4.188 kB / 0.5486 GB, free: 19.37 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001428/0.524, allocations: 1.178 MB / 0.5497 GB, free: 18.13 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001298/0.5253, allocations: 241.1 kB / 0.55 GB, free: 17.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004509/0.5298, allocations: 3.811 MB / 0.5537 GB, free: 14.03 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008066/0.5307, allocations: 1.335 MB / 0.555 GB, free: 12.67 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002583/0.5309, allocations: 79.42 kB / 0.5551 GB, free: 12.59 MB / 382.1 MB Notification: Performance of SimCode: time 1.352e-06/0.5309, allocations: 0 / 0.5551 GB, free: 12.59 MB / 382.1 MB Notification: Performance of Templates: time 0.06368/0.5946, allocations: 46.51 MB / 0.6005 GB, free: 14.05 MB / 430.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLineCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLineCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLineCalcHelperMain.o] Error 1