Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.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.Elementary.Sensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor") translateModel(PowerSystems.Examples.AC3ph.Elementary.Sensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007693/0.0007693, allocations: 93.89 kB / 16.96 MB, free: 6.41 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.0008374/0.0008376, allocations: 179.8 kB / 17.84 MB, free: 5.969 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.378/1.378, allocations: 223.3 MB / 241.9 MB, free: 256 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1645/0.1645, allocations: 38.1 MB / 331.1 MB, free: 8.863 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003662/0.0003662, allocations: 8 kB / 400.7 MB, free: 34.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1251, allocations: 59.17 MB / 459.9 MB, free: 7.434 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.005856/0.131, allocations: 4.541 MB / 464.4 MB, free: 2.867 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002781/0.1339, allocations: 1.504 MB / 465.9 MB, free: 1.359 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002873/0.1342, allocations: 19.88 kB / 465.9 MB, free: 1.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000276/0.1345, allocations: 87.33 kB / 466 MB, free: 1.254 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007643/0.1352, allocations: 302.6 kB / 466.3 MB, free: 0.957 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006994/0.136, allocations: 239.6 kB / 466.5 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007567/0.1367, allocations: 0.7833 MB / 467.3 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006984/0.1374, allocations: 395.5 kB / 467.7 MB, free: 15.53 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000352/0.1378, allocations: 239 kB / 467.9 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005596/0.1384, allocations: 414.9 kB / 468.4 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.251e-05/0.1384, allocations: 20 kB / 468.4 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003583/0.1388, allocations: 175.6 kB / 468.5 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002103/0.139, allocations: 223.5 kB / 468.8 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001248/0.1391, allocations: 121.4 kB / 468.9 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005291/0.1397, allocations: 0.53 MB / 469.4 MB, free: 13.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1397, allocations: 0 / 469.4 MB, free: 13.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1397, allocations: 0 / 469.4 MB, free: 13.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.271e-05/0.1397, allocations: 0 / 469.4 MB, free: 13.82 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.001302/0.141, allocations: 0.8025 MB / 470.2 MB, free: 12.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.1411, allocations: 12.03 kB / 470.2 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005361/0.1416, allocations: 91.23 kB / 470.3 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005654/0.1422, allocations: 406.8 kB / 470.7 MB, free: 12.42 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.649e-05/0.1423, allocations: 36.94 kB / 470.7 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.723e-05/0.1423, allocations: 40 kB / 470.8 MB, free: 12.35 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001186/0.1435, allocations: 0.859 MB / 471.6 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.1436, allocations: 7.938 kB / 471.7 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.509e-05/0.1436, allocations: 23.98 kB / 471.7 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001257/0.1438, allocations: 56.95 kB / 471.7 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00111/0.1449, allocations: 0.7963 MB / 472.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003352/0.1482, allocations: 2.722 MB / 475.2 MB, free: 7.699 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008265/0.1491, allocations: 0.5837 MB / 475.8 MB, free: 7.094 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005129/0.1496, allocations: 454.7 kB / 476.3 MB, free: 6.645 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.183e-05/0.1497, allocations: 4 kB / 476.3 MB, free: 6.641 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.1497, allocations: 42.52 kB / 476.3 MB, free: 6.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=56): time 2.265e-06/0.1497, allocations: 0 / 476.3 MB, free: 6.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=57): time 0.002822/0.1525, allocations: 1.902 MB / 478.2 MB, free: 4.648 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/0.1527, allocations: 138.8 kB / 478.4 MB, free: 4.488 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002855/0.153, allocations: 284.7 kB / 478.6 MB, free: 4.203 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.622e-05/0.153, allocations: 33.7 kB / 478.7 MB, free: 4.164 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001753/0.1532, allocations: 264.2 kB / 478.9 MB, free: 3.898 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001433/0.1533, allocations: 181.3 kB / 479.1 MB, free: 3.719 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.371e-05/0.1534, allocations: 12 kB / 479.1 MB, free: 3.707 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.1536, allocations: 354.8 kB / 479.5 MB, free: 3.352 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004544/0.154, allocations: 340.9 kB / 479.8 MB, free: 3.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005375/0.1546, allocations: 489.7 kB / 480.3 MB, free: 2.477 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005657/0.1551, allocations: 468.5 kB / 480.7 MB, free: 2.016 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.1552, allocations: 4 kB / 480.7 MB, free: 2.012 MB / 350.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001371/0.1565, allocations: 0.9731 MB / 481.7 MB, free: 1.023 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.064e-05/0.1566, allocations: 77.66 kB / 481.8 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/0.1567, allocations: 4 kB / 481.8 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002332/0.1569, allocations: 44.78 kB / 481.8 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003191/0.1572, allocations: 83.89 kB / 481.9 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001271/0.1585, allocations: 1.445 MB / 483.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002708/0.1588, allocations: 35.88 kB / 483.4 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6e-05/0.1589, allocations: 24 kB / 483.4 MB, free: 15.17 MB / 366.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: 4 (voltage.h_mod3[1],voltage.h_mod3[2],voltage.h_mod3[3],system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 2 * Algorithm blocks: 1 * 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.0003622/0.1592, allocations: 303.4 kB / 483.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.656e-05/0.1593, allocations: 43.53 kB / 483.8 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001435/0.1608, allocations: 1.072 MB / 484.8 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.01e-05/0.1608, allocations: 12 kB / 484.8 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1608, allocations: 3.984 kB / 484.8 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.1608, allocations: 4.141 kB / 484.8 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002423/0.1633, allocations: 1.811 MB / 486.7 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.1633, allocations: 0 / 486.7 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002378/0.1635, allocations: 59.94 kB / 486.7 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.87e-05/0.1636, allocations: 36.78 kB / 486.8 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.987e-05/0.1637, allocations: 15.98 kB / 486.8 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00116/0.1648, allocations: 1.429 MB / 488.2 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.1649, allocations: 4.031 kB / 488.2 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001542/0.1664, allocations: 1.175 MB / 489.4 MB, free: 8.926 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002166/0.1666, allocations: 180.5 kB / 489.6 MB, free: 8.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.57e-05/0.1667, allocations: 16 kB / 489.6 MB, free: 8.715 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002269/0.1669, allocations: 27.95 kB / 489.6 MB, free: 8.688 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/0.1671, allocations: 43.94 kB / 489.6 MB, free: 8.645 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.798e-05/0.1671, allocations: 20 kB / 489.7 MB, free: 8.625 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002072/0.1673, allocations: 199.1 kB / 489.9 MB, free: 8.434 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1674, allocations: 0 / 489.9 MB, free: 8.434 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000592/0.168, allocations: 140 kB / 490 MB, free: 8.297 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (system.initime,voltage.h_mod3[1],voltage.h_mod3[2],voltage.h_mod3[3]) * Number of discrete states: 3 (voltage.h_mod3[3],voltage.h_mod3[2],voltage.h_mod3[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 25 * Array equations: 2 * Algorithm blocks: 1 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002503/0.1682, allocations: 127.2 kB / 490.1 MB, free: 8.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001791/0.17, allocations: 1.37 MB / 491.5 MB, free: 6.766 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.17, allocations: 0 / 491.5 MB, free: 6.766 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009887/0.171, allocations: 0.9253 MB / 492.4 MB, free: 5.816 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005052/0.1715, allocations: 80.38 kB / 492.5 MB, free: 5.738 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002168/0.1737, allocations: 1.644 MB / 494.1 MB, free: 4.055 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000515/0.1743, allocations: 0.9055 MB / 495 MB, free: 3.125 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001136/0.1744, allocations: 43.42 kB / 495.1 MB, free: 3.082 MB / 366.1 MB Notification: Performance of SimCode: time 8.51e-07/0.1744, allocations: 0 / 495.1 MB, free: 3.082 MB / 366.1 MB Notification: Performance of Templates: time 0.01106/0.1854, allocations: 8.338 MB / 0.4916 GB, free: 10.75 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.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.Elementary.SensorCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.SensorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.SensorCalcHelperMain.o] Error 1