Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.FourVariableLoadsThreeFeeders.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.FourVariableLoadsThreeFeeders,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.FourVariableLoadsThreeFeeders") translateModel(PowerSysPro.Examples.FourVariableLoadsThreeFeeders,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.FourVariableLoadsThreeFeeders") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 92.69 kB / 16.38 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.000839/0.000839, allocations: 186 kB / 17.27 MB, free: 6.262 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.451/1.451, allocations: 223.2 MB / 241.3 MB, free: 352 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.06964/0.06964, allocations: 8.094 MB / 300.5 MB, free: 6.781 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004472/0.0004472, allocations: 8 kB / 363.5 MB, free: 7.734 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3218, allocations: 52.51 MB / 416 MB, free: 24.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.FourVariableLoadsThreeFeeders): time 0.00361/0.3255, allocations: 4.006 MB / 420 MB, free: 20.95 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003887/0.3294, allocations: 2.975 MB / 423 MB, free: 17.95 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002522/0.3297, allocations: 16 kB / 423 MB, free: 17.94 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004868/0.3302, allocations: 186.9 kB / 423.2 MB, free: 17.75 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008915/0.3311, allocations: 465.5 kB / 423.6 MB, free: 17.3 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001848/0.3329, allocations: 1.191 MB / 424.8 MB, free: 16.11 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009645/0.3339, allocations: 0.9688 MB / 425.8 MB, free: 15.14 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003602/0.3343, allocations: 251.6 kB / 426 MB, free: 14.88 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00034/0.3346, allocations: 382.5 kB / 426.4 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004668/0.3351, allocations: 486 kB / 426.9 MB, free: 14.03 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.635e-05/0.3352, allocations: 48 kB / 426.9 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007011/0.3359, allocations: 355.7 kB / 427.3 MB, free: 13.63 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001407/0.336, allocations: 163.2 kB / 427.4 MB, free: 13.47 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001466/0.3362, allocations: 185.3 kB / 427.6 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007887/0.337, allocations: 0.9078 MB / 428.5 MB, free: 12.38 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.337, allocations: 4 kB / 428.5 MB, free: 12.37 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.337, allocations: 0 / 428.5 MB, free: 12.37 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.508e-05/0.337, allocations: 0 / 428.5 MB, free: 12.37 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.008111/0.3451, allocations: 2.434 MB / 431 MB, free: 9.879 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.3452, allocations: 12.02 kB / 431 MB, free: 9.867 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003833/0.3456, allocations: 114.8 kB / 431.1 MB, free: 9.754 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000801/0.3464, allocations: 0.561 MB / 431.7 MB, free: 9.152 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001017/0.3465, allocations: 168.1 kB / 431.8 MB, free: 8.965 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/0.3466, allocations: 76 kB / 431.9 MB, free: 8.891 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001563/0.3482, allocations: 1.081 MB / 433 MB, free: 7.793 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.3482, allocations: 0 / 433 MB, free: 7.793 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.69e-05/0.3484, allocations: 43.92 kB / 433 MB, free: 7.75 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.315e-05/0.3484, allocations: 15.95 kB / 433 MB, free: 7.734 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001355/0.3497, allocations: 0.989 MB / 434 MB, free: 6.746 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004427/0.3542, allocations: 4.115 MB / 438.1 MB, free: 2.289 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001548/0.3557, allocations: 1.591 MB / 439.7 MB, free: 0.6172 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009757/0.3567, allocations: 0.7653 MB / 440.5 MB, free: 15.85 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001381/0.3569, allocations: 28.95 kB / 440.5 MB, free: 15.82 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001597/0.3585, allocations: 1.019 MB / 441.5 MB, free: 14.77 MB / 318.1 MB Notification: Performance of pre-optimization done (n=123): time 4.598e-06/0.3585, allocations: 0 / 441.5 MB, free: 14.77 MB / 318.1 MB Notification: Performance of matching and sorting (n=123): time 0.02012/0.3786, allocations: 5.572 MB / 447.1 MB, free: 9.152 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00018/0.3789, allocations: 260.2 kB / 447.4 MB, free: 8.844 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008069/0.3797, allocations: 0.5301 MB / 447.9 MB, free: 8.305 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001751/0.3799, allocations: 61.7 kB / 448 MB, free: 8.238 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002522/0.3801, allocations: 289.8 kB / 448.2 MB, free: 7.949 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003748/0.3805, allocations: 390.3 kB / 448.6 MB, free: 7.562 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.006e-05/0.3806, allocations: 24.11 kB / 448.6 MB, free: 7.539 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001881/0.3808, allocations: 398.7 kB / 449 MB, free: 7.141 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001052/0.3819, allocations: 0.6508 MB / 449.7 MB, free: 6.492 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001194/0.3831, allocations: 0.7554 MB / 450.4 MB, free: 5.727 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00113/0.3842, allocations: 0.7266 MB / 451.2 MB, free: 4.992 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.666e-06/0.3842, allocations: 3.938 kB / 451.2 MB, free: 4.988 MB / 318.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003744/0.388, allocations: 2.164 MB / 453.3 MB, free: 2.809 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.346e-05/0.3881, allocations: 41.69 kB / 453.4 MB, free: 2.762 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.3881, allocations: 0 / 453.4 MB, free: 2.762 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008164/0.3962, allocations: 2.39 MB / 455.8 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007768/0.3971, allocations: 167.7 kB / 455.9 MB, free: 204 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004077/0.4012, allocations: 2.226 MB / 458.2 MB, free: 13.94 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001184/0.4024, allocations: 162.8 kB / 458.3 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000106/0.4025, allocations: 47.98 kB / 458.4 MB, free: 13.73 MB / 334.1 MB Warning: Assuming fixed start value for the following 3 variables: HVMV.tapChanger.furtherTapChangeTimeout:DISCRETE(start = HVMV.tapChanger.nextTapChangeTimeout unit = "s" fixed = true protected = true ) "Time lag between the first change and the following tap" type: Real HVMV.tapChanger.abnormalUTime:DISCRETE(unit = "s" fixed = true protected = true ) "Time when the signal U went out its normal range" type: Real HVMV.tapChanger.tap:DISCRETE(start = HVMV.tapChanger.startTap fixed = true ) "Current tap position" type: Integer Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$PRE.HVMV.tapChanger.tap,HVMV.tapChanger.tap,$PRE.HVMV.tapChanger.abnormalUTime,HVMV.tapChanger.abnormalUTime,HVMV.tapChanger.normalU,HVMV.tapChanger.decreaseEvent,HVMV.tapChanger.increaseEvent,$PRE.HVMV.tapChanger.furtherTapChangeTimeout,HVMV.tapChanger.furtherTapChangeTimeout,$PRE.varLoad1.degradedMode,varLoad1.degradedMode,$PRE.varLoad2.degradedMode,varLoad2.degradedMode,$PRE.varLoad3.degradedMode,varLoad3.degradedMode,$PRE.varLoad4.degradedMode,varLoad4.degradedMode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * 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 {20 30} Notification: Performance of prepare postOptimizeDAE: time 0.0006195/0.4031, allocations: 295.1 kB / 458.6 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001848/0.4033, allocations: 94.97 kB / 458.7 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004139/0.4074, allocations: 2.431 MB / 461.2 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.427e-05/0.4075, allocations: 12 kB / 461.2 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.4075, allocations: 0 / 461.2 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.298e-05/0.4075, allocations: 7.938 kB / 461.2 MB, free: 10.87 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006701/0.4142, allocations: 4.227 MB / 465.4 MB, free: 6.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.277e-06/0.4143, allocations: 0 / 465.4 MB, free: 6.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004514/0.4148, allocations: 119.8 kB / 465.5 MB, free: 6.453 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007884/0.4226, allocations: 2.164 MB / 467.7 MB, free: 4.281 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002804/0.423, allocations: 31.98 kB / 467.7 MB, free: 4.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004422/0.4274, allocations: 2.372 MB / 470.1 MB, free: 1.84 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.4274, allocations: 0 / 470.1 MB, free: 1.84 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004288/0.4317, allocations: 2.433 MB / 472.5 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005874/0.4323, allocations: 347.5 kB / 472.9 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001682/0.4325, allocations: 47.92 kB / 472.9 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009198/0.4334, allocations: 128.1 kB / 473 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002183/0.4337, allocations: 101.2 kB / 473.1 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001048/0.4338, allocations: 47.94 kB / 473.2 MB, free: 14.7 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004989/0.4343, allocations: 378.8 kB / 473.6 MB, free: 14.33 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4343, allocations: 4 kB / 473.6 MB, free: 14.33 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008845/0.4352, allocations: 323.7 kB / 473.9 MB, free: 14.01 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: 18 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,HVMV.tapChanger.tap,HVMV.tapChanger.abnormalUTime,HVMV.tapChanger.normalU,HVMV.tapChanger.decreaseEvent,HVMV.tapChanger.increaseEvent,HVMV.tapChanger.furtherTapChangeTimeout,varLoad1.degradedMode,varLoad2.degradedMode,varLoad3.degradedMode,varLoad4.degradedMode) * Number of discrete states: 14 (HVMV.tapChanger.tap,HVMV.tapChanger.furtherTapChangeTimeout,$whenCondition4,$whenCondition3,HVMV.tapChanger.abnormalUTime,$whenCondition2,$whenCondition1,HVMV.tapChanger.decreaseEvent,HVMV.tapChanger.increaseEvent,HVMV.tapChanger.normalU,varLoad2.degradedMode,varLoad3.degradedMode,varLoad4.degradedMode,varLoad1.degradedMode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * 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 {20 33} Notification: Performance of Backend phase and start with SimCode phase: time 0.001101/0.4363, allocations: 478.9 kB / 474.4 MB, free: 13.69 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00468/0.441, allocations: 2.08 MB / 476.4 MB, free: 11.6 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/0.441, allocations: 0.6562 kB / 476.4 MB, free: 11.6 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003297/0.4443, allocations: 1.374 MB / 477.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009398/0.4453, allocations: 119.2 kB / 477.9 MB, free: 10.1 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003693/0.449, allocations: 2.081 MB / 480 MB, free: 7.996 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005623/0.4496, allocations: 0.9694 MB / 481 MB, free: 7 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002815/0.4499, allocations: 87.38 kB / 481.1 MB, free: 6.914 MB / 350.1 MB Notification: Performance of SimCode: time 8.32e-07/0.4499, allocations: 0 / 481.1 MB, free: 6.914 MB / 350.1 MB Notification: Performance of Templates: time 0.0254/0.4753, allocations: 16.18 MB / 497.2 MB, free: 6.723 MB / 366.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.FourVariableLoadsThreeFeeders.makefile make -j1 -f PowerSysPro_PowerSysPro.Examples.FourVariableLoadsThreeFeeders.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPowerSysPro_PowerSysPro.Examples.FourVariableLoadsThreeFeedersCalcHelperMain.o OMCppPowerSysPro_PowerSysPro.Examples.FourVariableLoadsThreeFeedersCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSysPro_PowerSysPro.Examples.FourVariableLoadsThreeFeedersCalcHelperMain.o] Error 1