Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.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.Generic.Test.GeneratorTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2") translateModel(PowerSystems.Examples.Generic.Test.GeneratorTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000846/0.0008462, allocations: 95.17 kB / 16.95 MB, free: 5.66 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.0009162/0.0009162, allocations: 185 kB / 17.85 MB, free: 5.312 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.599/1.599, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.17/0.17, allocations: 38.03 MB / 310.3 MB, free: 6.105 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.0005442/0.0005442, allocations: 16 kB / 377.1 MB, free: 3.176 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.264, allocations: 56.33 MB / 433.5 MB, free: 18.84 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.GeneratorTest2): time 0.004389/0.2685, allocations: 4.707 MB / 438.2 MB, free: 14.11 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002811/0.2714, allocations: 2.468 MB / 440.6 MB, free: 11.63 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002661/0.2716, allocations: 23.88 kB / 440.7 MB, free: 11.61 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002346/0.2719, allocations: 87.33 kB / 440.8 MB, free: 11.52 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009175/0.2728, allocations: 410.2 kB / 441.2 MB, free: 11.12 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004968/0.2733, allocations: 207.5 kB / 441.4 MB, free: 10.91 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006657/0.274, allocations: 0.9034 MB / 442.3 MB, free: 10.01 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008363/0.2748, allocations: 0.5383 MB / 442.8 MB, free: 9.453 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003123/0.2752, allocations: 266.8 kB / 443.1 MB, free: 9.191 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003221/0.2755, allocations: 306.9 kB / 443.4 MB, free: 8.891 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.509e-05/0.2755, allocations: 20 kB / 443.4 MB, free: 8.871 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000561/0.2761, allocations: 339.1 kB / 443.7 MB, free: 8.539 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001282/0.2762, allocations: 179.5 kB / 443.9 MB, free: 8.363 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.414e-05/0.2763, allocations: 113.5 kB / 444 MB, free: 8.246 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000445/0.2768, allocations: 0.5339 MB / 444.5 MB, free: 7.711 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2768, allocations: 0 / 444.5 MB, free: 7.711 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.2768, allocations: 0 / 444.5 MB, free: 7.711 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.2768, allocations: 0 / 444.5 MB, free: 7.711 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.0008217/0.2777, allocations: 0.6941 MB / 445.2 MB, free: 6.969 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.2777, allocations: 8.031 kB / 445.2 MB, free: 6.961 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0014/0.2791, allocations: 211.1 kB / 445.4 MB, free: 6.754 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003662/0.2795, allocations: 353.1 kB / 445.8 MB, free: 6.371 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.171e-05/0.2795, allocations: 32.98 kB / 445.8 MB, free: 6.336 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.034e-05/0.2796, allocations: 40 kB / 445.9 MB, free: 6.297 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007815/0.2804, allocations: 0.6185 MB / 446.5 MB, free: 5.652 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.316e-05/0.2804, allocations: 7.984 kB / 446.5 MB, free: 5.645 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.431e-05/0.2805, allocations: 23.94 kB / 446.5 MB, free: 5.621 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.315e-05/0.2805, allocations: 32.97 kB / 446.5 MB, free: 5.59 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007364/0.2813, allocations: 0.605 MB / 447.1 MB, free: 4.984 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002507/0.2838, allocations: 2.265 MB / 449.4 MB, free: 2.598 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005053/0.2843, allocations: 486.7 kB / 449.9 MB, free: 2.086 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002518/0.2846, allocations: 241.6 kB / 450.1 MB, free: 1.844 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.273e-05/0.2846, allocations: 11.98 kB / 450.1 MB, free: 1.832 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.2846, allocations: 42.5 kB / 450.2 MB, free: 1.781 MB / 318.1 MB Notification: Performance of pre-optimization done (n=42): time 2.314e-06/0.2847, allocations: 0 / 450.2 MB, free: 1.781 MB / 318.1 MB Notification: Performance of matching and sorting (n=43): time 0.002763/0.2874, allocations: 1.693 MB / 451.9 MB, free: 12 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.189e-05/0.2875, allocations: 85.23 kB / 451.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003023/0.2878, allocations: 286.9 kB / 452.2 MB, free: 15.62 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.607e-05/0.2879, allocations: 33.7 kB / 452.3 MB, free: 15.58 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001588/0.288, allocations: 228 kB / 452.5 MB, free: 15.35 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001252/0.2882, allocations: 153.7 kB / 452.6 MB, free: 15.2 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.164e-05/0.2882, allocations: 8 kB / 452.6 MB, free: 15.19 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.2884, allocations: 346.8 kB / 453 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002678/0.2886, allocations: 185 kB / 453.2 MB, free: 14.66 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003396/0.289, allocations: 286.3 kB / 453.4 MB, free: 14.34 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003341/0.2893, allocations: 223.9 kB / 453.7 MB, free: 14.12 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2893, allocations: 0 / 453.7 MB, free: 14.12 MB / 334.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001106/0.2905, allocations: 0.6769 MB / 454.3 MB, free: 13.43 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/0.2905, allocations: 8.438 kB / 454.3 MB, free: 13.42 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.2905, allocations: 8 kB / 454.4 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005418/0.2911, allocations: 164.7 kB / 454.5 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003318/0.2914, allocations: 95.83 kB / 454.6 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003193/0.2946, allocations: 2.535 MB / 457.1 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002507/0.2949, allocations: 23.98 kB / 457.2 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.844e-05/0.2949, allocations: 16 kB / 457.2 MB, free: 10.46 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 8} Notification: Performance of prepare postOptimizeDAE: time 0.0002658/0.2952, allocations: 205.6 kB / 457.4 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.406e-05/0.2953, allocations: 31.62 kB / 457.4 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001112/0.2964, allocations: 0.645 MB / 458.1 MB, free: 9.559 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.2964, allocations: 8 kB / 458.1 MB, free: 9.551 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.674e-06/0.2964, allocations: 0 / 458.1 MB, free: 9.551 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/0.2964, allocations: 4.078 kB / 458.1 MB, free: 9.547 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002029/0.2984, allocations: 1.343 MB / 459.4 MB, free: 8.125 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.2985, allocations: 4 kB / 459.4 MB, free: 8.121 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003147/0.2988, allocations: 75.89 kB / 459.5 MB, free: 8.047 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000399/0.2992, allocations: 148.7 kB / 459.6 MB, free: 7.898 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.802e-05/0.2992, allocations: 11.98 kB / 459.6 MB, free: 7.887 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002531/0.3018, allocations: 2.307 MB / 462 MB, free: 5.445 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.3018, allocations: 0 / 462 MB, free: 5.445 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001375/0.3032, allocations: 0.9569 MB / 462.9 MB, free: 4.457 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.3033, allocations: 104.7 kB / 463 MB, free: 4.336 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.793e-05/0.3033, allocations: 16.03 kB / 463 MB, free: 4.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001796/0.3035, allocations: 8 kB / 463 MB, free: 4.312 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.508e-05/0.3036, allocations: 31.95 kB / 463.1 MB, free: 4.281 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-05/0.3036, allocations: 15.98 kB / 463.1 MB, free: 4.266 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002053/0.3038, allocations: 194 kB / 463.3 MB, free: 4.078 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3039, allocations: 0 / 463.3 MB, free: 4.078 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006972/0.3046, allocations: 144 kB / 463.4 MB, free: 3.938 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (inertia.w,constantTorque.phi,inertia1.w,constantTorque1.phi) * 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 (38): * Single equations (assignments): 36 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001319/0.3047, allocations: 108 kB / 463.5 MB, free: 3.824 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001158/0.3059, allocations: 0.6618 MB / 464.2 MB, free: 3.152 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.3059, allocations: 0 / 464.2 MB, free: 3.152 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006528/0.3065, allocations: 426.9 kB / 464.6 MB, free: 2.723 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004716/0.307, allocations: 63.95 kB / 464.7 MB, free: 2.664 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00198/0.309, allocations: 1.396 MB / 466.1 MB, free: 1.227 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004994/0.3095, allocations: 0.8749 MB / 466.9 MB, free: 332 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001195/0.3097, allocations: 39.42 kB / 467 MB, free: 292 kB / 334.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3097, allocations: 0 / 467 MB, free: 292 kB / 334.1 MB Notification: Performance of Templates: time 0.009677/0.3194, allocations: 6.865 MB / 473.8 MB, free: 9.41 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.makefile make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.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_PowerSystems.Examples.Generic.Test.GeneratorTest2CalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2CalcHelperMain.o] Error 1