Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.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.OneEmergencySourceTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad") translateModel(PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009574/0.0009574, allocations: 96.2 kB / 16.38 MB, free: 5.953 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.001301/0.001301, allocations: 188.2 kB / 17.27 MB, free: 5.84 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.592/1.592, allocations: 223.3 MB / 241.3 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2313/0.2313, allocations: 8.078 MB / 300.5 MB, free: 2.93 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003884/0.0003884, allocations: 8 kB / 363.5 MB, free: 13.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1465, allocations: 52.51 MB / 416 MB, free: 8.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad): time 0.002389/0.149, allocations: 1.178 MB / 417.2 MB, free: 7.551 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002944/0.152, allocations: 1.474 MB / 418.6 MB, free: 6.062 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002207/0.1522, allocations: 7.938 kB / 418.7 MB, free: 6.055 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004341/0.1527, allocations: 91.59 kB / 418.7 MB, free: 5.965 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004294/0.1531, allocations: 103.4 kB / 418.8 MB, free: 5.863 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo:34:7-34:67:writable] Warning: In relation pv.rampTime == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001675/0.1548, allocations: 0.7355 MB / 419.6 MB, free: 5.129 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004796/0.1553, allocations: 226.8 kB / 419.8 MB, free: 4.906 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001992/0.1555, allocations: 64.09 kB / 419.9 MB, free: 4.844 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001969/0.1557, allocations: 91.62 kB / 420 MB, free: 4.754 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000264/0.156, allocations: 115.5 kB / 420.1 MB, free: 4.641 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.103e-05/0.156, allocations: 16 kB / 420.1 MB, free: 4.625 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004834/0.1565, allocations: 187.8 kB / 420.3 MB, free: 4.441 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.426e-05/0.1566, allocations: 39.83 kB / 420.3 MB, free: 4.402 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.1567, allocations: 65.58 kB / 420.4 MB, free: 4.332 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005243/0.1572, allocations: 275.5 kB / 420.6 MB, free: 4.062 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.1572, allocations: 0 / 420.6 MB, free: 4.062 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.1573, allocations: 0 / 420.6 MB, free: 4.062 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.661e-05/0.1573, allocations: 0 / 420.6 MB, free: 4.062 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.002636/0.1599, allocations: 0.7856 MB / 421.4 MB, free: 3.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.16, allocations: 8.031 kB / 421.4 MB, free: 3.223 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001256/0.1601, allocations: 31.67 kB / 421.5 MB, free: 3.191 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004662/0.1606, allocations: 247.5 kB / 421.7 MB, free: 2.906 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.776e-05/0.1606, allocations: 19.78 kB / 421.7 MB, free: 2.887 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.52e-05/0.1607, allocations: 20 kB / 421.7 MB, free: 2.867 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005951/0.1613, allocations: 269.3 kB / 422 MB, free: 2.598 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.1613, allocations: 0 / 422 MB, free: 2.598 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.444e-05/0.1613, allocations: 4 kB / 422 MB, free: 2.594 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.1614, allocations: 4 kB / 422 MB, free: 2.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004105/0.1618, allocations: 251.6 kB / 422.3 MB, free: 2.344 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001835/0.1636, allocations: 1.164 MB / 423.4 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004563/0.1641, allocations: 299.2 kB / 423.7 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000336/0.1644, allocations: 161.3 kB / 423.9 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.066e-05/0.1645, allocations: 12.22 kB / 423.9 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004138/0.1649, allocations: 219.5 kB / 424.1 MB, free: 348 kB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.733e-06/0.165, allocations: 0 / 424.1 MB, free: 348 kB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.2508/0.4158, allocations: 0.9162 MB / 425 MB, free: 41.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.445e-05/0.4159, allocations: 55.12 kB / 425.1 MB, free: 41.53 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/0.4161, allocations: 189 kB / 425.3 MB, free: 41.42 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.248e-05/0.4161, allocations: 35.39 kB / 425.3 MB, free: 41.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.389e-05/0.4162, allocations: 126.7 kB / 425.4 MB, free: 41.31 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.317e-05/0.4162, allocations: 100.6 kB / 425.5 MB, free: 41.26 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.78e-05/0.4163, allocations: 7.812 kB / 425.5 MB, free: 41.26 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.891e-05/0.4163, allocations: 333.5 kB / 425.8 MB, free: 40.95 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002034/0.4166, allocations: 146.5 kB / 426 MB, free: 40.95 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002219/0.4168, allocations: 183.3 kB / 426.2 MB, free: 40.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002214/0.417, allocations: 160.9 kB / 426.3 MB, free: 40.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.417, allocations: 0 / 426.3 MB, free: 40.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001357/0.4184, allocations: 0.6543 MB / 427 MB, free: 40.86 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.4184, allocations: 6.469 kB / 427 MB, free: 40.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.4184, allocations: 0 / 427 MB, free: 40.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001342/0.4198, allocations: 341.1 kB / 427.3 MB, free: 40.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002248/0.42, allocations: 50.58 kB / 427.4 MB, free: 40.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003108/0.4231, allocations: 2.42 MB / 429.8 MB, free: 39.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001954/0.4233, allocations: 24.78 kB / 429.8 MB, free: 39.56 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.004e-05/0.4234, allocations: 15.12 kB / 429.8 MB, free: 39.55 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * 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 {6 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001721/0.4236, allocations: 145.2 kB / 430 MB, free: 39.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.955e-05/0.4236, allocations: 21.28 kB / 430 MB, free: 39.42 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001525/0.4251, allocations: 0.6605 MB / 430.6 MB, free: 39.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.4252, allocations: 9.453 kB / 430.7 MB, free: 39.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.4252, allocations: 0 / 430.7 MB, free: 39.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.4252, allocations: 0.7031 kB / 430.7 MB, free: 39.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003281/0.4255, allocations: 390.9 kB / 431 MB, free: 39.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.4255, allocations: 0 / 431 MB, free: 39.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001463/0.4257, allocations: 46.31 kB / 431.1 MB, free: 39.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001253/0.4269, allocations: 329.3 kB / 431.4 MB, free: 39.12 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.751e-05/0.427, allocations: 13.92 kB / 431.4 MB, free: 39.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002859/0.4298, allocations: 2.395 MB / 433.8 MB, free: 37.83 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.4299, allocations: 3.141 kB / 433.8 MB, free: 37.83 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001338/0.4312, allocations: 0.6325 MB / 434.5 MB, free: 37.71 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.896e-05/0.4313, allocations: 103.1 kB / 434.6 MB, free: 37.61 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.532e-05/0.4313, allocations: 8.25 kB / 434.6 MB, free: 37.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001747/0.4315, allocations: 17.7 kB / 434.6 MB, free: 37.61 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.875e-05/0.4316, allocations: 22.8 kB / 434.6 MB, free: 37.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.678e-05/0.4316, allocations: 9.688 kB / 434.6 MB, free: 37.61 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001044/0.4317, allocations: 141.3 kB / 434.7 MB, free: 37.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4317, allocations: 0 / 434.7 MB, free: 37.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003903/0.4321, allocations: 100.8 kB / 434.8 MB, free: 37.5 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: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 26 * 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 {6 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001847/0.4323, allocations: 129 kB / 435 MB, free: 37.4 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001152/0.4335, allocations: 0.6089 MB / 435.6 MB, free: 37.09 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.4335, allocations: 0 / 435.6 MB, free: 37.09 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007735/0.4343, allocations: 426.8 kB / 436 MB, free: 36.88 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002795/0.4345, allocations: 27.45 kB / 436 MB, free: 36.86 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007866/0.4353, allocations: 0.6106 MB / 436.6 MB, free: 36.46 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001916/0.4355, allocations: 0.7529 MB / 437.4 MB, free: 35.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.046e-05/0.4356, allocations: 34.31 kB / 437.4 MB, free: 35.74 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.4356, allocations: 0 / 437.4 MB, free: 35.74 MB / 350.1 MB Notification: Performance of Templates: time 0.006233/0.4419, allocations: 4.73 MB / 442.2 MB, free: 35.39 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.makefile make -j1 -f PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.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.OneEmergencySourceTwoLinesOneLoadCalcHelperMain.o OMCppPowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoadCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoadCalcHelperMain.o] Error 1