Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Introductory.InitialSteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Introductory.InitialSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Introductory.InitialSteadyState") translateModel(PowerSystems.Examples.Introductory.InitialSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Introductory.InitialSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00236/0.002365, allocations: 189.9 kB / 15.77 MB, free: 5.988 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.111/2.111, allocations: 205.4 MB / 221.9 MB, free: 13.79 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001158/0.001158, allocations: 94.8 kB / 270.2 MB, free: 13.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2733/0.2733, allocations: 38.05 MB / 356.6 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004704/0.0004706, allocations: 15.98 kB / 422.7 MB, free: 26.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1083, allocations: 56.33 MB / 479 MB, free: 2.047 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.007103/0.1155, allocations: 4.303 MB / 483.3 MB, free: 13.72 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003871/0.1194, allocations: 1.568 MB / 484.9 MB, free: 12.14 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004012/0.1198, allocations: 27.81 kB / 484.9 MB, free: 12.12 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002702/0.1201, allocations: 71.5 kB / 485 MB, free: 12.05 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009142/0.1211, allocations: 215.4 kB / 485.2 MB, free: 11.84 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001039/0.1221, allocations: 231.4 kB / 485.4 MB, free: 11.61 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007033/0.1229, allocations: 299.7 kB / 485.7 MB, free: 11.32 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001272/0.1241, allocations: 0.5065 MB / 486.2 MB, free: 10.79 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004941/0.1247, allocations: 187.3 kB / 486.4 MB, free: 10.61 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005571/0.1252, allocations: 251.3 kB / 486.7 MB, free: 10.36 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 8.037e-05/0.1253, allocations: 20 kB / 486.7 MB, free: 10.34 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005144/0.1259, allocations: 159.7 kB / 486.8 MB, free: 10.18 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003163/0.1262, allocations: 199.5 kB / 487 MB, free: 9.988 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001949/0.1264, allocations: 109.5 kB / 487.1 MB, free: 9.875 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008379/0.1272, allocations: 498.8 kB / 487.6 MB, free: 9.387 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1273, allocations: 4 kB / 487.6 MB, free: 9.383 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1273, allocations: 0 / 487.6 MB, free: 9.383 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.927e-06/0.1273, allocations: 0 / 487.6 MB, free: 9.383 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001854/0.1292, allocations: 0.6919 MB / 488.3 MB, free: 8.641 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.1292, allocations: 8.031 kB / 488.3 MB, free: 8.633 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000968/0.1302, allocations: 95.28 kB / 488.4 MB, free: 8.539 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001035/0.1313, allocations: 406 kB / 488.8 MB, free: 8.102 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.404e-05/0.1314, allocations: 28.94 kB / 488.8 MB, free: 8.074 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002245/0.1316, allocations: 47.98 kB / 488.9 MB, free: 8.027 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001582/0.1332, allocations: 0.6765 MB / 489.6 MB, free: 7.312 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.34e-05/0.1332, allocations: 7.938 kB / 489.6 MB, free: 7.305 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.248e-05/0.1333, allocations: 16 kB / 489.6 MB, free: 7.289 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003046/0.1336, allocations: 52.95 kB / 489.6 MB, free: 7.234 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001737/0.1354, allocations: 0.6596 MB / 490.3 MB, free: 6.578 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005724/0.1411, allocations: 2.433 MB / 492.7 MB, free: 4.023 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009233/0.1421, allocations: 349.8 kB / 493.1 MB, free: 3.664 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.948e-05/0.1422, allocations: 20.23 kB / 493.1 MB, free: 3.645 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.794e-05/0.1423, allocations: 42.84 kB / 493.1 MB, free: 3.594 MB / 330.7 MB Notification: Performance of pre-optimization done (n=45): time 3.987e-06/0.1423, allocations: 0 / 493.1 MB, free: 3.594 MB / 330.7 MB Notification: Performance of matching and sorting (n=46): time 0.003808/0.1461, allocations: 1.606 MB / 494.7 MB, free: 1.898 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/0.1463, allocations: 89.05 kB / 494.8 MB, free: 1.793 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004721/0.1467, allocations: 287 kB / 495.1 MB, free: 1.496 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.854e-05/0.1468, allocations: 33.7 kB / 495.1 MB, free: 1.457 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00024/0.1471, allocations: 298.2 kB / 495.4 MB, free: 1.164 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001947/0.1473, allocations: 157.7 kB / 495.6 MB, free: 1.008 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.674e-05/0.1473, allocations: 8 kB / 495.6 MB, free: 1 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.1475, allocations: 338.8 kB / 495.9 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005452/0.1481, allocations: 213 kB / 496.1 MB, free: 464 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006585/0.1487, allocations: 353.8 kB / 496.5 MB, free: 52 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007285/0.1495, allocations: 280.2 kB / 496.8 MB, free: 15.77 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.1495, allocations: 0 / 496.8 MB, free: 15.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002065/0.1516, allocations: 0.7044 MB / 497.5 MB, free: 15.06 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/0.1516, allocations: 4 kB / 497.5 MB, free: 15.06 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001481/0.1531, allocations: 0.5146 MB / 498 MB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005183/0.1537, allocations: 76.78 kB / 498.1 MB, free: 14.46 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008129/0.1545, allocations: 103.9 kB / 498.2 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002447/0.157, allocations: 1.625 MB / 499.8 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005252/0.1575, allocations: 27.97 kB / 499.8 MB, free: 12.58 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.829e-05/0.1576, allocations: 23.98 kB / 499.8 MB, free: 12.55 MB / 346.7 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 (54): * Single equations (assignments): 51 * Array equations: 2 * 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: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003943/0.158, allocations: 213.7 kB / 0.4883 GB, free: 12.34 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001302/0.1581, allocations: 39.56 kB / 0.4884 GB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001462/0.1596, allocations: 0.5477 MB / 0.4889 GB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.42e-05/0.1597, allocations: 19.98 kB / 0.4889 GB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.1597, allocations: 0 / 0.4889 GB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.1597, allocations: 11.92 kB / 0.4889 GB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00314/0.1629, allocations: 1.18 MB / 0.4901 GB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.084e-05/0.1629, allocations: 11.92 kB / 0.4901 GB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008084/0.1638, allocations: 75.89 kB / 0.4902 GB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.309e-05/0.1638, allocations: 4 kB / 0.4902 GB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.633e-05/0.1638, allocations: 11.98 kB / 0.4902 GB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.678e-06/0.1639, allocations: 12.09 kB / 0.4902 GB, free: 10.35 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.1639, allocations: 0 / 0.4902 GB, free: 10.35 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002093/0.166, allocations: 0.9673 MB / 0.4911 GB, free: 9.328 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001587/0.1662, allocations: 112.7 kB / 0.4912 GB, free: 9.199 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.353e-05/0.1663, allocations: 11.95 kB / 0.4912 GB, free: 9.188 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000401/0.1667, allocations: 20.02 kB / 0.4913 GB, free: 9.168 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.007e-05/0.1668, allocations: 23.97 kB / 0.4913 GB, free: 9.145 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.738e-05/0.1669, allocations: 8 kB / 0.4913 GB, free: 9.137 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003086/0.1672, allocations: 201.9 kB / 0.4915 GB, free: 8.941 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1672, allocations: 0 / 0.4915 GB, free: 8.941 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007398/0.1679, allocations: 116 kB / 0.4916 GB, free: 8.828 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.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 (39): * Single equations (assignments): 36 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002734/0.1682, allocations: 127.2 kB / 0.4917 GB, free: 8.695 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001676/0.1699, allocations: 0.6568 MB / 0.4924 GB, free: 8.027 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.1699, allocations: 0 / 0.4924 GB, free: 8.027 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006249/0.1706, allocations: 263.4 kB / 0.4926 GB, free: 7.77 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000604/0.1712, allocations: 56.58 kB / 0.4927 GB, free: 7.715 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003086/0.1743, allocations: 1.462 MB / 0.4941 GB, free: 6.211 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006978/0.175, allocations: 0.8905 MB / 0.495 GB, free: 5.289 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002685/0.1753, allocations: 39.44 kB / 0.495 GB, free: 5.25 MB / 346.7 MB Notification: Performance of SimCode: time 8.61e-07/0.1753, allocations: 0 / 0.495 GB, free: 5.25 MB / 346.7 MB Notification: Performance of Templates: time 0.0154/0.1907, allocations: 6.302 MB / 0.5012 GB, free: 14.94 MB / 362.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Introductory.InitialSteadyState.makefile make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Introductory.InitialSteadyState.makefile b'clang++ -fopenmp=libomp -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_cpp_PowerSystems.Examples.Introductory.InitialSteadyStateCalcHelperMain.o OMCppPowerSystems_cpp_PowerSystems.Examples.Introductory.InitialSteadyStateCalcHelperMain.cpp\nIn file included from OMCppPowerSystems_cpp_PowerSystems.Examples.Introductory.InitialSteadyStateCalcHelperMain.cpp:28:\n./OMCppPowerSystems_cpp_PowerSystems.Examples.Introductory.InitialSteadyStateFunctions.cpp:85:19: error: use of undeclared identifier \'_omcQ_24i1_\'\n switch (_omcQ_24i1_) { /* ASUB */\n ^\n./OMCppPowerSystems_cpp_PowerSystems.Examples.Introductory.InitialSteadyStateFunctions.cpp:144:19: error: use of undeclared identifier \'_omcQ_24i1_\'\n switch (_omcQ_24i1_) { /* ASUB */\n ^\n2 errors generated.\n: recipe for target \'OMCppPowerSystems_cpp_PowerSystems.Examples.Introductory.InitialSteadyStateCalcHelperMain.o\' failed\nmake: *** [OMCppPowerSystems_cpp_PowerSystems.Examples.Introductory.InitialSteadyStateCalcHelperMain.o] Error 1\n'