Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.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.Generation.PQsource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 103 kB / 17.16 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.001078/0.001078, allocations: 190.9 kB / 18.07 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.307/1.307, allocations: 222.9 MB / 241.7 MB, free: 15.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1674/0.1674, allocations: 38.05 MB / 329.9 MB, free: 9.086 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001004/0.001004, allocations: 54.12 kB / 398.7 MB, free: 34.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1131, allocations: 58.07 MB / 456.8 MB, free: 8.551 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.006537/0.1197, allocations: 5.221 MB / 462 MB, free: 3.297 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002449/0.1222, allocations: 1.492 MB / 463.5 MB, free: 1.801 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002433/0.1224, allocations: 27.81 kB / 463.5 MB, free: 1.773 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001075/0.1235, allocations: 386.6 kB / 463.9 MB, free: 1.395 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004738/0.124, allocations: 231.1 kB / 464.1 MB, free: 1.168 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004033/0.1244, allocations: 147.7 kB / 464.3 MB, free: 1.023 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007579/0.1252, allocations: 0.8572 MB / 465.1 MB, free: 168 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005262/0.1257, allocations: 276.8 kB / 465.4 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002895/0.126, allocations: 215 kB / 465.6 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004577/0.1265, allocations: 299 kB / 465.9 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.574e-05/0.1265, allocations: 24 kB / 465.9 MB, free: 15.37 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002607/0.1268, allocations: 135.7 kB / 466.1 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001915/0.127, allocations: 187.5 kB / 466.2 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002188/0.1272, allocations: 210.8 kB / 466.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000416/0.1277, allocations: 403.1 kB / 466.8 MB, free: 14.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1277, allocations: 0 / 466.8 MB, free: 14.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1277, allocations: 0 / 466.8 MB, free: 14.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.346e-06/0.1277, allocations: 4 kB / 466.9 MB, free: 14.45 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001219/0.1289, allocations: 0.703 MB / 467.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.129, allocations: 8.031 kB / 467.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005649/0.1295, allocations: 84.31 kB / 467.6 MB, free: 13.6 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005666/0.1301, allocations: 387.3 kB / 468 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.799e-05/0.1302, allocations: 25.38 kB / 468 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000117/0.1303, allocations: 48.11 kB / 468.1 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000638/0.1309, allocations: 480.8 kB / 468.6 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.1309, allocations: 7.891 kB / 468.6 MB, free: 12.6 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.592e-05/0.131, allocations: 16 kB / 468.6 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001055/0.1311, allocations: 24.98 kB / 468.6 MB, free: 12.56 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005013/0.1316, allocations: 355.7 kB / 469 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00203/0.1336, allocations: 1.729 MB / 470.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002737/0.1339, allocations: 153.1 kB / 470.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001582/0.1341, allocations: 113.7 kB / 471 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.1341, allocations: 4.219 kB / 471 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.1342, allocations: 34.56 kB / 471 MB, free: 10.03 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.402e-06/0.1342, allocations: 4 kB / 471 MB, free: 10.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.00154/0.1357, allocations: 0.8838 MB / 471.9 MB, free: 9.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.446e-05/0.1358, allocations: 81.11 kB / 472 MB, free: 8.973 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003301/0.1361, allocations: 312.4 kB / 472.3 MB, free: 8.656 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.918e-05/0.1362, allocations: 37.83 kB / 472.3 MB, free: 8.613 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001961/0.1364, allocations: 247.5 kB / 472.5 MB, free: 8.367 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.786e-05/0.1364, allocations: 63.09 kB / 472.6 MB, free: 8.305 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.451e-05/0.1365, allocations: 57.98 kB / 472.7 MB, free: 8.238 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001774/0.1367, allocations: 342.8 kB / 473 MB, free: 7.895 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001746/0.1369, allocations: 104.2 kB / 473.1 MB, free: 7.793 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002299/0.1371, allocations: 201.2 kB / 473.3 MB, free: 7.551 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000416/0.1376, allocations: 330.8 kB / 473.6 MB, free: 7.184 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1376, allocations: 0 / 473.6 MB, free: 7.184 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008819/0.1385, allocations: 480.1 kB / 474.1 MB, free: 6.707 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.1385, allocations: 8 kB / 474.1 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005935/0.1391, allocations: 315 kB / 474.4 MB, free: 6.391 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004849/0.1396, allocations: 136.9 kB / 474.5 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001905/0.1398, allocations: 59.91 kB / 474.6 MB, free: 6.195 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002669/0.1425, allocations: 2.205 MB / 476.8 MB, free: 3.859 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001787/0.1427, allocations: 19.88 kB / 476.8 MB, free: 3.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.677e-05/0.1427, allocations: 16 kB / 476.8 MB, free: 3.824 MB / 350.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 (29): * Single equations (assignments): 28 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002391/0.1429, allocations: 181.7 kB / 477 MB, free: 3.637 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.211e-05/0.143, allocations: 31.62 kB / 477 MB, free: 3.605 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004292/0.1434, allocations: 268.5 kB / 477.3 MB, free: 3.332 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.259e-06/0.1435, allocations: 7.938 kB / 477.3 MB, free: 3.324 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.1435, allocations: 0 / 477.3 MB, free: 3.324 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.1435, allocations: 3.984 kB / 477.3 MB, free: 3.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00108/0.1446, allocations: 0.7351 MB / 478 MB, free: 2.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.1446, allocations: 0 / 478 MB, free: 2.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002095/0.1448, allocations: 40.05 kB / 478.1 MB, free: 2.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001174/0.1449, allocations: 40.81 kB / 478.1 MB, free: 2.438 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/0.145, allocations: 8.062 kB / 478.1 MB, free: 2.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.145, allocations: 0 / 478.1 MB, free: 2.43 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.145, allocations: 0 / 478.1 MB, free: 2.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000535/0.1455, allocations: 451.7 kB / 478.6 MB, free: 1.961 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.307e-05/0.1456, allocations: 100.7 kB / 478.7 MB, free: 1.844 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.005e-05/0.1456, allocations: 8 kB / 478.7 MB, free: 1.836 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001403/0.1458, allocations: 8.078 kB / 478.7 MB, free: 1.828 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.637e-05/0.1458, allocations: 23.91 kB / 478.7 MB, free: 1.805 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.1459, allocations: 7.938 kB / 478.7 MB, free: 1.797 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002058/0.1461, allocations: 219 kB / 478.9 MB, free: 1.586 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1461, allocations: 4 kB / 478.9 MB, free: 1.582 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004406/0.1465, allocations: 88 kB / 479 MB, free: 1.496 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001333/0.1467, allocations: 103.2 kB / 479.1 MB, free: 1.387 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006781/0.1474, allocations: 410.5 kB / 479.5 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.1474, allocations: 0 / 479.5 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002052/0.1476, allocations: 185.8 kB / 479.7 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004732/0.1481, allocations: 61.8 kB / 479.8 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001622/0.1497, allocations: 1.054 MB / 480.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005159/0.1502, allocations: 0.8422 MB / 481.7 MB, free: 14.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.834e-05/0.1503, allocations: 23.44 kB / 481.7 MB, free: 14.73 MB / 366.1 MB Notification: Performance of SimCode: time 7.72e-07/0.1503, allocations: 0 / 481.7 MB, free: 14.73 MB / 366.1 MB Notification: Performance of Templates: time 0.008171/0.1585, allocations: 5.719 MB / 487.4 MB, free: 9.012 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.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.AC3ph.Generation.PQsourceCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsourceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsourceCalcHelperMain.o] Error 1