Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.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/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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(PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad") translateModel(PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009706/0.0009773, allocations: 92.69 kB / 16.37 MB, free: 5.969 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.0008809/0.0008809, allocations: 181.4 kB / 17.27 MB, free: 5.824 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.558/1.558, allocations: 223.3 MB / 241.3 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2762/0.2762, allocations: 8.084 MB / 300.5 MB, free: 2.875 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003201/0.0003203, allocations: 8 kB / 363.5 MB, free: 13.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1304, allocations: 52.52 MB / 416 MB, free: 8.715 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad): time 0.002339/0.1329, allocations: 1.938 MB / 417.9 MB, free: 6.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002337/0.1352, allocations: 1.637 MB / 419.6 MB, free: 5.117 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001191/0.1354, allocations: 8 kB / 419.6 MB, free: 5.109 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003038/0.1357, allocations: 107.4 kB / 419.7 MB, free: 5.004 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003712/0.136, allocations: 175 kB / 419.9 MB, free: 4.832 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001504/0.1376, allocations: 0.8254 MB / 420.7 MB, free: 4.008 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005361/0.1381, allocations: 429.9 kB / 421.1 MB, free: 3.586 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002465/0.1384, allocations: 131.3 kB / 421.2 MB, free: 3.453 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001571/0.1385, allocations: 159.4 kB / 421.4 MB, free: 3.297 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002922/0.1388, allocations: 219.1 kB / 421.6 MB, free: 3.082 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.928e-05/0.1389, allocations: 20 kB / 421.6 MB, free: 3.062 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003859/0.1393, allocations: 231.7 kB / 421.8 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.287e-05/0.1394, allocations: 67.69 kB / 421.9 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001024/0.1395, allocations: 109.4 kB / 422 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005031/0.14, allocations: 475 kB / 422.5 MB, free: 2.191 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.14, allocations: 0 / 422.5 MB, free: 2.191 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.14, allocations: 0 / 422.5 MB, free: 2.191 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.14, allocations: 0 / 422.5 MB, free: 2.191 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.003198/0.1432, allocations: 1.119 MB / 423.6 MB, free: 1.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.1433, allocations: 12.03 kB / 423.6 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002633/0.1435, allocations: 71.34 kB / 423.7 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000441/0.144, allocations: 342.4 kB / 424 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.056e-05/0.144, allocations: 28.66 kB / 424 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.864e-05/0.1441, allocations: 36 kB / 424.1 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006843/0.1448, allocations: 454 kB / 424.5 MB, free: 52 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.1448, allocations: 0 / 424.5 MB, free: 52 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4e-05/0.1448, allocations: 16 kB / 424.5 MB, free: 36 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.1449, allocations: 8 kB / 424.5 MB, free: 28 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2156/0.3605, allocations: 445.6 kB / 425 MB, free: 41.31 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002374/0.3629, allocations: 2.002 MB / 427 MB, free: 40.3 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009715/0.3639, allocations: 0.6846 MB / 427.7 MB, free: 40.08 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004004/0.3643, allocations: 298.2 kB / 428 MB, free: 40.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.894e-05/0.3644, allocations: 16.58 kB / 428 MB, free: 40.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006364/0.3651, allocations: 465.6 kB / 428.4 MB, free: 39.9 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 2.625e-06/0.3651, allocations: 0 / 428.4 MB, free: 39.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=50): time 0.004848/0.3699, allocations: 1.779 MB / 430.2 MB, free: 39.69 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.373e-05/0.3701, allocations: 200.1 kB / 430.4 MB, free: 39.47 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003704/0.3704, allocations: 302.4 kB / 430.7 MB, free: 39.36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.866e-05/0.3705, allocations: 42.2 kB / 430.7 MB, free: 39.33 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.3706, allocations: 165.2 kB / 430.9 MB, free: 39.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001426/0.3708, allocations: 161.3 kB / 431.1 MB, free: 39.13 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.944e-05/0.3708, allocations: 12.23 kB / 431.1 MB, free: 39.13 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.371, allocations: 349 kB / 431.4 MB, free: 38.82 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004104/0.3714, allocations: 274.7 kB / 431.7 MB, free: 38.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005078/0.3719, allocations: 342.3 kB / 432 MB, free: 38.76 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005503/0.3724, allocations: 335.4 kB / 432.3 MB, free: 38.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.3725, allocations: 3.281 kB / 432.3 MB, free: 38.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002501/0.375, allocations: 1.17 MB / 433.5 MB, free: 38.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.973e-05/0.375, allocations: 34.61 kB / 433.6 MB, free: 38.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.3751, allocations: 0 / 433.6 MB, free: 38.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001935/0.377, allocations: 0.5219 MB / 434.1 MB, free: 38.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000287/0.3773, allocations: 76.64 kB / 434.1 MB, free: 38.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004392/0.3817, allocations: 3.648 MB / 437.8 MB, free: 35.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004022/0.3821, allocations: 48.91 kB / 437.8 MB, free: 35.65 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-05/0.3822, allocations: 23.48 kB / 437.9 MB, free: 35.64 MB / 350.1 MB Warning: Assuming fixed start value for the following 3 variables: line2.myFault.fault:DISCRETE(start = false fixed = true ) "true means the fault is active" type: Boolean line2.myFault.Y.im:DISCRETE(start = 0.0 fixed = true ) "Imaginary part of complex number" type: Real line2.myFault.Y.re:DISCRETE(start = 0.0 fixed = true ) "Real part of complex number" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$PRE.line2.myFault.fault,line2.myFault.fault,$PRE.line2.myFault.Y.re,line2.myFault.Y.re,$PRE.line2.myFault.Y.im,line2.myFault.Y.im) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 50 * Array equations: 0 * 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: 0 * Non-linear torn systems: 1 {3 15} Notification: Performance of prepare postOptimizeDAE: time 0.0003052/0.3825, allocations: 226.8 kB / 438.1 MB, free: 35.45 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.955e-05/0.3826, allocations: 38.91 kB / 438.1 MB, free: 35.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002272/0.3848, allocations: 1.126 MB / 439.3 MB, free: 34.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.3849, allocations: 6.469 kB / 439.3 MB, free: 34.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.3849, allocations: 7.953 kB / 439.3 MB, free: 34.9 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.3849, allocations: 3 kB / 439.3 MB, free: 34.9 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002713/0.3876, allocations: 1.828 MB / 441.1 MB, free: 33.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/0.3876, allocations: 1.031 kB / 441.1 MB, free: 33.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001574/0.3878, allocations: 49.39 kB / 441.1 MB, free: 33.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001734/0.3895, allocations: 0.508 MB / 441.7 MB, free: 33.79 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.032e-05/0.3896, allocations: 18.64 kB / 441.7 MB, free: 33.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00413/0.3937, allocations: 3.596 MB / 445.3 MB, free: 31.21 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.3937, allocations: 0 / 445.3 MB, free: 31.21 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002131/0.3959, allocations: 1.184 MB / 446.5 MB, free: 30.61 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.462e-05/0.396, allocations: 124.1 kB / 446.6 MB, free: 30.49 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.5e-05/0.396, allocations: 18.02 kB / 446.6 MB, free: 30.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002769/0.3963, allocations: 30.91 kB / 446.6 MB, free: 30.47 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/0.3965, allocations: 39.83 kB / 446.7 MB, free: 30.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.632e-05/0.3965, allocations: 16.59 kB / 446.7 MB, free: 30.46 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002081/0.3967, allocations: 216.3 kB / 446.9 MB, free: 30.33 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3967, allocations: 7.375 kB / 446.9 MB, free: 30.33 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006972/0.3974, allocations: 183.1 kB / 447.1 MB, free: 30.3 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,line2.myFault.Y.re,line2.myFault.Y.im,line2.myFault.fault) * Number of discrete states: 7 ($whenCondition4,line2.myFault.Y.im,line2.myFault.Y.re,$whenCondition3,$whenCondition2,line2.myFault.fault,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 30 * Array equations: 0 * 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: 0 * Non-linear torn systems: 1 {3 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002679/0.3977, allocations: 140.2 kB / 447.2 MB, free: 30.19 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001598/0.3993, allocations: 0.9747 MB / 448.2 MB, free: 29.67 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.3993, allocations: 7.406 kB / 448.2 MB, free: 29.66 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009501/0.4003, allocations: 0.6774 MB / 448.9 MB, free: 29.24 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003717/0.4007, allocations: 40.95 kB / 448.9 MB, free: 29.21 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001174/0.4018, allocations: 0.9407 MB / 449.9 MB, free: 28.63 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002432/0.4021, allocations: 0.8164 MB / 450.7 MB, free: 27.92 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.496e-05/0.4022, allocations: 40.89 kB / 450.7 MB, free: 27.91 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4022, allocations: 0 / 450.7 MB, free: 27.91 MB / 350.1 MB Notification: Performance of Templates: time 0.009782/0.412, allocations: 7.675 MB / 458.4 MB, free: 27.25 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.makefile make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.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 OMCppPowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoadCalcHelperMain.o OMCppPowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoadCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoadCalcHelperMain.o] Error 1