Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Rectifier.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.AC3ph.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Rectifier") translateModel(PowerSystems.Examples.AC3ph.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001679/0.001678, allocations: 187.6 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 1.993/1.993, allocations: 205.4 MB / 221.9 MB, free: 13.82 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.001151/0.001151, allocations: 106.8 kB / 270.3 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2617/0.2617, allocations: 38.06 MB / 356.6 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004934/0.0004935, allocations: 12 kB / 422.7 MB, free: 26.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1114, allocations: 56.33 MB / 479 MB, free: 2.035 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.01106/0.1225, allocations: 6.657 MB / 485.7 MB, free: 11.35 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.006368/0.1289, allocations: 2.382 MB / 488.1 MB, free: 8.957 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000934/0.1299, allocations: 43.69 kB / 488.1 MB, free: 8.914 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007756/0.1307, allocations: 163 kB / 488.3 MB, free: 8.754 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002035/0.1328, allocations: 490.5 kB / 488.8 MB, free: 8.273 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001479/0.1343, allocations: 343.3 kB / 489.1 MB, free: 7.938 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001436/0.1357, allocations: 0.6792 MB / 489.8 MB, free: 7.258 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002006/0.1378, allocations: 0.8439 MB / 490.6 MB, free: 6.379 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009827/0.1388, allocations: 386.7 kB / 491 MB, free: 6 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00112/0.1399, allocations: 490.6 kB / 491.5 MB, free: 5.52 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002091/0.1402, allocations: 48 kB / 491.5 MB, free: 5.473 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00126/0.1414, allocations: 435.4 kB / 491.9 MB, free: 5.047 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006429/0.1421, allocations: 387.1 kB / 492.3 MB, free: 4.668 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003712/0.1425, allocations: 193.3 kB / 492.5 MB, free: 4.473 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001975/0.1445, allocations: 1.107 MB / 493.6 MB, free: 3.363 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1445, allocations: 0 / 493.6 MB, free: 3.363 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.1445, allocations: 0 / 493.6 MB, free: 3.363 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.2e-05/0.1446, allocations: 0 / 493.6 MB, free: 3.363 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.004182/0.1487, allocations: 1.208 MB / 494.8 MB, free: 2.105 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.543e-05/0.1488, allocations: 8.031 kB / 494.8 MB, free: 2.098 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001263/0.1501, allocations: 146.8 kB / 495 MB, free: 1.953 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002126/0.1522, allocations: 0.6504 MB / 495.6 MB, free: 1.258 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003758/0.1527, allocations: 171.1 kB / 495.8 MB, free: 1.074 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003907/0.1531, allocations: 99.92 kB / 495.9 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004023/0.1571, allocations: 1.37 MB / 497.3 MB, free: 15.54 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.156e-05/0.1572, allocations: 0 / 497.3 MB, free: 15.54 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001457/0.1573, allocations: 35.98 kB / 497.3 MB, free: 15.5 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002706/0.1576, allocations: 61.97 kB / 497.4 MB, free: 15.45 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004484/0.1621, allocations: 1.339 MB / 498.7 MB, free: 14.11 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01215/0.1743, allocations: 4.963 MB / 0.4919 GB, free: 8.984 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004247/0.1786, allocations: 1.219 MB / 0.493 GB, free: 7.723 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001037/0.1788, allocations: 12.61 kB / 0.4931 GB, free: 7.711 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.921e-05/0.1788, allocations: 39.08 kB / 0.4931 GB, free: 7.664 MB / 346.7 MB Notification: Performance of pre-optimization done (n=72): time 4.097e-06/0.1788, allocations: 0 / 0.4931 GB, free: 7.664 MB / 346.7 MB Notification: Performance of matching and sorting (n=73): time 0.01067/0.1895, allocations: 3.357 MB / 0.4964 GB, free: 4.191 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.009e-05/0.1896, allocations: 89.67 kB / 0.4965 GB, free: 4.086 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007908/0.1904, allocations: 457.9 kB / 0.4969 GB, free: 3.629 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001379/0.1906, allocations: 37.7 kB / 0.4969 GB, free: 3.586 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003649/0.191, allocations: 433.8 kB / 0.4973 GB, free: 3.156 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003456/0.1913, allocations: 264.3 kB / 0.4976 GB, free: 2.895 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.545e-05/0.1914, allocations: 12 kB / 0.4976 GB, free: 2.883 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.1916, allocations: 350.7 kB / 0.4979 GB, free: 2.531 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001763/0.1934, allocations: 0.5094 MB / 0.4984 GB, free: 2.02 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001901/0.1953, allocations: 0.6989 MB / 0.4991 GB, free: 1.242 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001906/0.1973, allocations: 0.5848 MB / 0.4997 GB, free: 0.6562 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.427e-06/0.1973, allocations: 7.938 kB / 0.4997 GB, free: 0.6484 MB / 346.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.008344/0.2056, allocations: 2.084 MB / 0.5017 GB, free: 14.53 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.011e-05/0.2057, allocations: 8 kB / 0.5017 GB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007581/0.2133, allocations: 1.84 MB / 0.5035 GB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00338/0.2167, allocations: 0.6924 MB / 0.5042 GB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001226/0.218, allocations: 159.7 kB / 0.5044 GB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02068/0.2387, allocations: 7.256 MB / 0.5115 GB, free: 4.281 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001207/0.2399, allocations: 92.05 kB / 0.5115 GB, free: 4.191 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001064/0.2401, allocations: 32 kB / 0.5116 GB, free: 4.16 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (77): * Single equations (assignments): 74 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {4 16} Notification: Performance of prepare postOptimizeDAE: time 0.0007265/0.2408, allocations: 305.5 kB / 0.5119 GB, free: 3.852 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002086/0.241, allocations: 63.23 kB / 0.5119 GB, free: 3.789 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004173/0.2452, allocations: 1.325 MB / 0.5132 GB, free: 2.43 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.543e-05/0.2453, allocations: 15.94 kB / 0.5132 GB, free: 2.414 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.2453, allocations: 3.953 kB / 0.5132 GB, free: 2.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.362e-05/0.2453, allocations: 3.984 kB / 0.5132 GB, free: 2.406 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3122/0.5576, allocations: 2.422 MB / 0.5156 GB, free: 52.06 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-05/0.5576, allocations: 2.938 kB / 0.5156 GB, free: 52.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00579/0.5634, allocations: 0.6414 MB / 0.5162 GB, free: 52.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001488/0.5636, allocations: 23.44 kB / 0.5163 GB, free: 52.05 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001417/0.5638, allocations: 18.34 kB / 0.5163 GB, free: 52.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001153/0.5649, allocations: 1.391 MB / 0.5176 GB, free: 50.74 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.565, allocations: 3.438 kB / 0.5176 GB, free: 50.74 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006709/0.5717, allocations: 2.113 MB / 0.5197 GB, free: 50.41 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002829/0.572, allocations: 131.2 kB / 0.5198 GB, free: 50.32 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002851/0.5723, allocations: 15.05 kB / 0.5198 GB, free: 50.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001442/0.5738, allocations: 73.47 kB / 0.5199 GB, free: 50.32 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004479/0.5743, allocations: 61.16 kB / 0.52 GB, free: 50.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001243/0.5745, allocations: 18.23 kB / 0.52 GB, free: 50.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007057/0.5752, allocations: 320.1 kB / 0.5203 GB, free: 50.23 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5752, allocations: 1.188 kB / 0.5203 GB, free: 50.23 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001371/0.5766, allocations: 236.3 kB / 0.5205 GB, free: 50.23 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (ind.i[1],ind.i[2],ind.i[3],meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],meterDC.pav) * 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 (68): * Single equations (assignments): 65 * Array equations: 1 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002965/0.5769, allocations: 130.2 kB / 0.5206 GB, free: 50.14 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004781/0.5817, allocations: 1.597 MB / 0.5222 GB, free: 49.55 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.5817, allocations: 0 / 0.5222 GB, free: 49.55 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005209/0.587, allocations: 1.134 MB / 0.5233 GB, free: 49.24 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001173/0.5882, allocations: 143.9 kB / 0.5234 GB, free: 49.2 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006607/0.5948, allocations: 2.772 MB / 0.5262 GB, free: 47.7 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009408/0.5958, allocations: 1.09 MB / 0.5272 GB, free: 46.94 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005525/0.5964, allocations: 55.2 kB / 0.5273 GB, free: 46.93 MB / 362.7 MB Notification: Performance of SimCode: time 1.002e-06/0.5964, allocations: 1.156 kB / 0.5273 GB, free: 46.93 MB / 362.7 MB Notification: Performance of Templates: time 0.03352/0.6299, allocations: 19.37 MB / 0.5462 GB, free: 34.14 MB / 362.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Rectifier.makefile make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Rectifier.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.AC3ph.Elementary.RectifierCalcHelperMain.o OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.RectifierCalcHelperMain.cpp\nIn file included from OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.RectifierCalcHelperMain.cpp:28:\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.RectifierFunctions.cpp:83:19: error: use of undeclared identifier \'_omcQ_24i1_\'\n switch (_omcQ_24i1_) { /* ASUB */\n ^\n./OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.RectifierFunctions.cpp:142: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.AC3ph.Elementary.RectifierCalcHelperMain.o\' failed\nmake: *** [OMCppPowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.RectifierCalcHelperMain.o] Error 1\n'