Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.Impedance.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage 3.2.2-master/package.mo", uses=false) Using package ElectricalEnergyStorage with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage 3.2.2-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ElectricalEnergyStorage.Examples.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.Impedance") translateModel(ElectricalEnergyStorage.Examples.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.Impedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009798/0.0009798, allocations: 90.44 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 178.8 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.631/1.631, allocations: 205.4 MB / 223.1 MB, free: 5.457 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage 3.2.2-master/package.mo): time 0.05606/0.05606, allocations: 7.027 MB / 278.4 MB, free: 14.19 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ElectricalEnergyStorage requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005235/0.0005234, allocations: 16.22 kB / 338.2 MB, free: 27.23 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09455/0.09508, allocations: 49.07 MB / 387.3 MB, free: 10.08 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ElectricalEnergyStorage.Examples.Impedance): time 0.0049/0.1, allocations: 4.253 MB / 391.6 MB, free: 5.801 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002786/0.1028, allocations: 1.633 MB / 393.2 MB, free: 4.156 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006609/0.1035, allocations: 19.94 kB / 393.2 MB, free: 4.137 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009822/0.1045, allocations: 302.5 kB / 393.5 MB, free: 3.84 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007866/0.1053, allocations: 210.7 kB / 393.7 MB, free: 3.633 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007435/0.1061, allocations: 315.8 kB / 394 MB, free: 3.324 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00279/0.1089, allocations: 2.368 MB / 396.4 MB, free: 0.957 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001571/0.1105, allocations: 1.402 MB / 397.8 MB, free: 15.5 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006428/0.1112, allocations: 0.5323 MB / 398.3 MB, free: 14.97 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006057/0.1118, allocations: 0.6488 MB / 399 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001312/0.1119, allocations: 88 kB / 399.1 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001439/0.1121, allocations: 88 kB / 399.1 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002183/0.1123, allocations: 274.6 kB / 399.4 MB, free: 13.88 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006994/0.113, allocations: 0.841 MB / 400.2 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002232/0.1152, allocations: 3.168 MB / 403.4 MB, free: 9.848 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1152, allocations: 0 / 403.4 MB, free: 9.848 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1153, allocations: 0 / 403.4 MB, free: 9.848 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.306e-05/0.1153, allocations: 0 / 403.4 MB, free: 9.848 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: 312 * Number of variables: 312 Notification: Performance of Generate backend data structure: time 0.002885/0.1182, allocations: 1.867 MB / 405.3 MB, free: 7.918 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.1182, allocations: 12.03 kB / 405.3 MB, free: 7.906 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002668/0.1185, allocations: 186.7 kB / 405.5 MB, free: 7.723 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002056/0.1206, allocations: 1.703 MB / 407.2 MB, free: 5.965 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.436e-05/0.1207, allocations: 102.8 kB / 407.3 MB, free: 5.863 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001928/0.1209, allocations: 128.3 kB / 407.4 MB, free: 5.738 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002864/0.1237, allocations: 1.839 MB / 409.2 MB, free: 3.824 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.999e-05/0.1238, allocations: 0 / 409.2 MB, free: 3.824 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001212/0.1239, allocations: 52 kB / 409.3 MB, free: 3.773 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.47e-05/0.1239, allocations: 32 kB / 409.3 MB, free: 3.742 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00237/0.1263, allocations: 1.528 MB / 410.9 MB, free: 2.207 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008373/0.1347, allocations: 7.168 MB / 418 MB, free: 10.9 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002946/0.1377, allocations: 2.989 MB / 421 MB, free: 7.488 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008524/0.1385, allocations: 0.5501 MB / 421.6 MB, free: 6.938 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.653e-05/0.1386, allocations: 4.562 kB / 421.6 MB, free: 6.934 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008414/0.1394, allocations: 0.5628 MB / 422.1 MB, free: 6.344 MB / 318.1 MB Notification: Performance of pre-optimization done (n=59): time 2.064e-06/0.1394, allocations: 4 kB / 422.1 MB, free: 6.34 MB / 318.1 MB Notification: Performance of matching and sorting (n=59): time 0.001998/0.1414, allocations: 1.266 MB / 423.4 MB, free: 5.066 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.839e-05/0.1415, allocations: 166.8 kB / 423.6 MB, free: 4.863 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002491/0.144, allocations: 1.972 MB / 425.5 MB, free: 2.879 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.973e-05/0.1441, allocations: 37.7 kB / 425.6 MB, free: 2.836 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006203/0.1447, allocations: 0.7121 MB / 426.3 MB, free: 2.113 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001753/0.1449, allocations: 213 kB / 426.5 MB, free: 1.902 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/0.145, allocations: 73.67 kB / 426.6 MB, free: 1.824 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.1451, allocations: 337.9 kB / 426.9 MB, free: 1.488 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006811/0.1458, allocations: 445.8 kB / 427.3 MB, free: 1.051 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008101/0.1467, allocations: 0.6593 MB / 428 MB, free: 312 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1926/0.3393, allocations: 2.001 MB / 430 MB, free: 37.64 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/0.3393, allocations: 2.344 kB / 430 MB, free: 37.64 MB / 318.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002373/0.3417, allocations: 1.306 MB / 431.3 MB, free: 37.56 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.433e-05/0.3418, allocations: 35.64 kB / 431.3 MB, free: 37.53 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.3418, allocations: 9.562 kB / 431.3 MB, free: 37.53 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.814e-05/0.3418, allocations: 9.562 kB / 431.3 MB, free: 37.53 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009147/0.3428, allocations: 232.2 kB / 431.6 MB, free: 37.52 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.975e-05/0.3428, allocations: 10.95 kB / 431.6 MB, free: 37.52 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006937/0.3435, allocations: 142.5 kB / 431.7 MB, free: 37.52 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.243e-05/0.3436, allocations: 34.95 kB / 431.8 MB, free: 37.52 MB / 318.1 MB Warning: Assuming fixed start value for the following 3 variables: rCseriesLinear.rcseriesLinear.rclinear[3].capacitor.variableCapacitor.Q:VARIABLE(unit = "C" fixed = true ) type: Real [3] rCseriesLinear.rcseriesLinear.rclinear[2].capacitor.variableCapacitor.Q:VARIABLE(unit = "C" fixed = true ) type: Real [3] rCseriesLinear.rcseriesLinear.rclinear[1].capacitor.variableCapacitor.Q:VARIABLE(unit = "C" fixed = true ) type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.pulseCurrent.signalSource.count,$PRE.pulseCurrent.signalSource.T_start,pulseCurrent.signalSource.count,pulseCurrent.signalSource.T_start,$whenCondition1,rCseriesLinear.rs.impedanceValue.qabs.absInt.local_reset,rCseriesLinear.rcseriesLinear.rclinear[3].resistor.impedanceValue.qabs.absInt.local_reset,rCseriesLinear.rcseriesLinear.rclinear[3].capacitor.impedanceValue.qabs.absInt.local_reset,rCseriesLinear.rcseriesLinear.rclinear[2].resistor.impedanceValue.qabs.absInt.local_reset,rCseriesLinear.rcseriesLinear.rclinear[2].capacitor.impedanceValue.qabs.absInt.local_reset,rCseriesLinear.rcseriesLinear.rclinear[1].resistor.impedanceValue.qabs.absInt.local_reset,rCseriesLinear.rcseriesLinear.rclinear[1].capacitor.impedanceValue.qabs.absInt.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001223/0.3448, allocations: 0.7303 MB / 432.5 MB, free: 37.4 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001726/0.345, allocations: 142.1 kB / 432.6 MB, free: 37.4 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001657/0.3466, allocations: 1.008 MB / 433.6 MB, free: 37.34 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.246e-06/0.3467, allocations: 5.406 kB / 433.6 MB, free: 37.34 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.3467, allocations: 0 / 433.6 MB, free: 37.34 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.3467, allocations: 4.953 kB / 433.6 MB, free: 37.34 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004249/0.3509, allocations: 3.039 MB / 436.7 MB, free: 36.37 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.3509, allocations: 0 / 436.7 MB, free: 36.37 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007906/0.3517, allocations: 182.6 kB / 436.9 MB, free: 36.36 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.3518, allocations: 5.75 kB / 436.9 MB, free: 36.36 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.699e-05/0.3518, allocations: 22.5 kB / 436.9 MB, free: 36.35 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.313e-06/0.3518, allocations: 3.312 kB / 436.9 MB, free: 36.35 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.3518, allocations: 1.062 kB / 436.9 MB, free: 36.35 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002471/0.3543, allocations: 1.593 MB / 438.5 MB, free: 35.62 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003655/0.3547, allocations: 295.7 kB / 438.8 MB, free: 35.39 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001572/0.3549, allocations: 24.14 kB / 438.8 MB, free: 35.38 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005088/0.3554, allocations: 63.14 kB / 438.9 MB, free: 35.36 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/0.3555, allocations: 38.48 kB / 438.9 MB, free: 35.36 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.146e-05/0.3555, allocations: 16.38 kB / 438.9 MB, free: 35.35 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001972/0.3575, allocations: 1.416 MB / 440.3 MB, free: 34.77 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3575, allocations: 0 / 440.3 MB, free: 34.77 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000897/0.3584, allocations: 299.4 kB / 440.6 MB, free: 34.71 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (rCseriesLinear.rcseriesLinear.rclinear[1].capacitor.impedanceValue.qabs.absInt.y,rCseriesLinear.rcseriesLinear.rclinear[1].capacitor.variableCapacitor.Q,rCseriesLinear.rcseriesLinear.rclinear[1].resistor.impedanceValue.qabs.absInt.y,rCseriesLinear.rcseriesLinear.rclinear[2].capacitor.impedanceValue.qabs.absInt.y,rCseriesLinear.rcseriesLinear.rclinear[2].capacitor.variableCapacitor.Q,rCseriesLinear.rcseriesLinear.rclinear[2].resistor.impedanceValue.qabs.absInt.y,rCseriesLinear.rcseriesLinear.rclinear[3].capacitor.impedanceValue.qabs.absInt.y,rCseriesLinear.rcseriesLinear.rclinear[3].capacitor.variableCapacitor.Q,rCseriesLinear.rcseriesLinear.rclinear[3].resistor.impedanceValue.qabs.absInt.y,rCseriesLinear.rs.impedanceValue.qabs.absInt.y) * Number of discrete variables: 3 ($whenCondition1,pulseCurrent.signalSource.T_start,pulseCurrent.signalSource.count) * Number of discrete states: 1 (pulseCurrent.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001609/0.3586, allocations: 136.7 kB / 440.8 MB, free: 34.6 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001546/0.3602, allocations: 0.9997 MB / 441.8 MB, free: 34.2 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.818e-06/0.3602, allocations: 1.875 kB / 441.8 MB, free: 34.2 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006241/0.3608, allocations: 430.9 kB / 442.2 MB, free: 34.06 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001296/0.3621, allocations: 318.2 kB / 442.5 MB, free: 33.95 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004732/0.3668, allocations: 3.953 MB / 446.4 MB, free: 31.71 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009062/0.3678, allocations: 1.66 MB / 448.1 MB, free: 30.69 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002884/0.3681, allocations: 89.47 kB / 448.2 MB, free: 30.68 MB / 318.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3681, allocations: 0 / 448.2 MB, free: 30.68 MB / 318.1 MB Notification: Performance of Templates: time 0.02367/0.3918, allocations: 23.21 MB / 471.4 MB, free: 8.469 MB / 318.1 MB make -j1 -f ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.Impedance.makefile make -j1 -f ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.Impedance.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 OMCppElectricalEnergyStorage_ElectricalEnergyStorage.Examples.ImpedanceCalcHelperMain.o OMCppElectricalEnergyStorage_ElectricalEnergyStorage.Examples.ImpedanceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppElectricalEnergyStorage_ElectricalEnergyStorage.Examples.ImpedanceCalcHelperMain.o] Error 1