Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.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.AC1ph_DC.Transformation.OnePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009649/0.0009652, allocations: 109.2 kB / 17.17 MB, free: 6.32 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.0009195/0.0009195, allocations: 194.9 kB / 18.08 MB, free: 5.414 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.342/1.342, allocations: 222.9 MB / 241.7 MB, free: 15.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1665/0.1665, allocations: 38.05 MB / 329.9 MB, free: 9.09 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001088/0.001088, allocations: 56.59 kB / 398.7 MB, free: 34.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1206, allocations: 58.06 MB / 456.8 MB, free: 8.547 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.007419/0.1281, allocations: 6.548 MB / 463.3 MB, free: 1.965 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003176/0.1313, allocations: 1.621 MB / 465 MB, free: 348 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003854/0.1317, allocations: 43.69 kB / 465 MB, free: 304 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004487/0.1322, allocations: 111.3 kB / 465.1 MB, free: 192 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007828/0.133, allocations: 342.7 kB / 465.5 MB, free: 15.85 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002776/0.1333, allocations: 123.9 kB / 465.6 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009087/0.1342, allocations: 1.145 MB / 466.7 MB, free: 14.58 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002625/0.1345, allocations: 156.2 kB / 466.9 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004055/0.1349, allocations: 294.6 kB / 467.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005868/0.1355, allocations: 402.6 kB / 467.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.462e-05/0.1356, allocations: 24 kB / 467.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.895e-05/0.1357, allocations: 28 kB / 467.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001972/0.1359, allocations: 187.5 kB / 467.8 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002361/0.1361, allocations: 238.7 kB / 468 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003644/0.1365, allocations: 403 kB / 468.4 MB, free: 12.87 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1365, allocations: 4 kB / 468.4 MB, free: 12.87 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1365, allocations: 0 / 468.4 MB, free: 12.87 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.1365, allocations: 0 / 468.4 MB, free: 12.87 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001371/0.1379, allocations: 0.7968 MB / 469.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.1379, allocations: 16.03 kB / 469.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.488e-05/0.138, allocations: 56.27 kB / 469.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006489/0.1387, allocations: 452.5 kB / 469.7 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.285e-05/0.1387, allocations: 32.94 kB / 469.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.996e-05/0.1388, allocations: 40 kB / 469.8 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007748/0.1396, allocations: 0.5039 MB / 470.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.1396, allocations: 4 kB / 470.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.685e-05/0.1396, allocations: 16 kB / 470.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.007e-05/0.1397, allocations: 17 kB / 470.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005203/0.1402, allocations: 367.6 kB / 470.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002232/0.1424, allocations: 2.083 MB / 472.8 MB, free: 8.242 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000391/0.1429, allocations: 239.2 kB / 473 MB, free: 7.992 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002268/0.1431, allocations: 141.7 kB / 473.2 MB, free: 7.848 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/0.1431, allocations: 4 kB / 473.2 MB, free: 7.844 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.1432, allocations: 30.56 kB / 473.2 MB, free: 7.805 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.743e-06/0.1432, allocations: 0 / 473.2 MB, free: 7.805 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.001125/0.1443, allocations: 0.7674 MB / 474 MB, free: 6.984 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.214e-05/0.1444, allocations: 81.05 kB / 474 MB, free: 6.887 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003432/0.1447, allocations: 385.4 kB / 474.4 MB, free: 6.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.1447, allocations: 29.7 kB / 474.4 MB, free: 6.465 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001732/0.1449, allocations: 291 kB / 474.7 MB, free: 6.176 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.2e-05/0.145, allocations: 86.83 kB / 474.8 MB, free: 6.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.847e-05/0.1451, allocations: 74.05 kB / 474.9 MB, free: 6.012 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.1452, allocations: 354.8 kB / 475.2 MB, free: 5.656 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001388/0.1454, allocations: 88.81 kB / 475.3 MB, free: 5.566 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002504/0.1456, allocations: 277.2 kB / 475.6 MB, free: 5.207 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004188/0.146, allocations: 411.2 kB / 476 MB, free: 4.719 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.146, allocations: 0 / 476 MB, free: 4.719 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006454/0.1467, allocations: 453.3 kB / 476.4 MB, free: 4.266 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.1467, allocations: 8 kB / 476.4 MB, free: 4.258 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.1467, allocations: 4.688 kB / 476.4 MB, free: 4.254 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002138/0.147, allocations: 60.77 kB / 476.5 MB, free: 4.191 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002491/0.1472, allocations: 79.91 kB / 476.6 MB, free: 4.113 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001368/0.1486, allocations: 1.496 MB / 478.1 MB, free: 2.484 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001844/0.1488, allocations: 19.91 kB / 478.1 MB, free: 2.465 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.536e-05/0.1488, allocations: 20 kB / 478.1 MB, free: 2.445 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002132/0.1491, allocations: 201.6 kB / 478.3 MB, free: 2.238 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.782e-05/0.1491, allocations: 39.53 kB / 478.3 MB, free: 2.199 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003487/0.1495, allocations: 239.5 kB / 478.6 MB, free: 1.961 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.1495, allocations: 4.062 kB / 478.6 MB, free: 1.957 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.185e-05/0.1495, allocations: 7.938 kB / 478.6 MB, free: 1.949 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.1495, allocations: 0 / 478.6 MB, free: 1.949 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007932/0.1503, allocations: 0.6819 MB / 479.3 MB, free: 1.211 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1503, allocations: 0 / 479.3 MB, free: 1.211 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002273/0.1506, allocations: 51.91 kB / 479.3 MB, free: 1.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.1506, allocations: 4 kB / 479.3 MB, free: 1.156 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/0.1506, allocations: 7.938 kB / 479.3 MB, free: 1.148 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.1506, allocations: 11.97 kB / 479.3 MB, free: 1.137 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1506, allocations: 0 / 479.3 MB, free: 1.137 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004812/0.1511, allocations: 433.4 kB / 479.8 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.1512, allocations: 124.6 kB / 479.9 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.081e-05/0.1513, allocations: 11.98 kB / 479.9 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.1514, allocations: 0 / 479.9 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.283e-05/0.1514, allocations: 20.17 kB / 479.9 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.1515, allocations: 8 kB / 479.9 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002471/0.1517, allocations: 263.1 kB / 480.2 MB, free: 260 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1517, allocations: 0 / 480.2 MB, free: 260 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003951/0.1521, allocations: 88 kB / 480.3 MB, free: 172 kB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (trafo.i1) * 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 (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000114/0.1522, allocations: 99.19 kB / 480.4 MB, free: 60 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006549/0.1529, allocations: 401.7 kB / 480.8 MB, free: 15.65 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1529, allocations: 1.5 kB / 480.8 MB, free: 15.65 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000136/0.1531, allocations: 95.84 kB / 480.9 MB, free: 15.56 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005648/0.1536, allocations: 85.62 kB / 480.9 MB, free: 15.48 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001382/0.155, allocations: 1.061 MB / 482 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004196/0.1554, allocations: 0.8548 MB / 482.9 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.249e-05/0.1555, allocations: 35.44 kB / 482.9 MB, free: 13.46 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1555, allocations: 0 / 482.9 MB, free: 13.46 MB / 366.1 MB Notification: Performance of Templates: time 0.007978/0.1635, allocations: 5.94 MB / 488.8 MB, free: 7.531 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhaseCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhaseCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhaseCalcHelperMain.o] Error 1