Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Machines.EquivalentCircuit.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/Modelica 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/HanserModelica 2.0.0/package.mo", uses=false) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(HanserModelica.Machines.EquivalentCircuit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.EquivalentCircuit") translateModel(HanserModelica.Machines.EquivalentCircuit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.EquivalentCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008633/0.0008632, allocations: 102.1 kB / 15.71 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.511/1.511, allocations: 223.3 MB / 239.7 MB, free: 5.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 172.5 kB / 290.9 MB, free: 2.316 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/package.mo): time 0.03408/0.03408, allocations: 8.796 MB / 350.8 MB, free: 4.715 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004357/0.0004358, allocations: 9.062 kB / 413.8 MB, free: 42.96 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1185, allocations: 52.56 MB / 466.4 MB, free: 13.58 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.EquivalentCircuit): time 0.01631/0.1348, allocations: 16.29 MB / 482.7 MB, free: 13.22 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01185/0.1467, allocations: 4.6 MB / 487.3 MB, free: 8.609 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003716/0.1505, allocations: 143.6 kB / 487.4 MB, free: 8.469 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003738/0.1543, allocations: 0.9204 MB / 488.3 MB, free: 7.543 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007108/0.1614, allocations: 1.82 MB / 490.1 MB, free: 5.719 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004438/0.1659, allocations: 1.241 MB / 491.4 MB, free: 4.484 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0169/0.1828, allocations: 11.76 MB / 0.4913 GB, free: 8.688 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03998/0.2228, allocations: 20.93 MB / 0.5118 GB, free: 3.664 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008439/0.2313, allocations: 4.373 MB / 0.5161 GB, free: 15.28 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01026/0.2416, allocations: 4.911 MB / 0.5209 GB, free: 10.35 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003632/0.2453, allocations: 0.6602 MB / 0.5215 GB, free: 9.688 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006533/0.2518, allocations: 0.9255 MB / 0.5224 GB, free: 8.762 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004398/0.2563, allocations: 2.056 MB / 0.5244 GB, free: 6.699 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005638/0.2619, allocations: 2.118 MB / 0.5265 GB, free: 4.57 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3236/0.5855, allocations: 18.45 MB / 0.5445 GB, free: 24.87 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.448e-06/0.5856, allocations: 0 / 0.5445 GB, free: 24.87 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.828e-06/0.5856, allocations: 2.031 kB / 0.5445 GB, free: 24.87 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0009554/0.5866, allocations: 0 / 0.5445 GB, free: 24.87 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3006 * Number of variables: 3006 Notification: Performance of Generate backend data structure: time 0.03951/0.6261, allocations: 11.54 MB / 0.5558 GB, free: 19.3 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.589e-05/0.6262, allocations: 9.406 kB / 0.5558 GB, free: 19.3 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04285/0.6691, allocations: 7.896 MB / 0.5635 GB, free: 16.24 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01837/0.6875, allocations: 6.493 MB / 0.5698 GB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001041/0.6886, allocations: 0.8109 MB / 0.5706 GB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006338/0.695, allocations: 1.071 MB / 0.5717 GB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05876/0.7537, allocations: 17.71 MB / 0.589 GB, free: 6.82 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007652/0.7546, allocations: 19.45 kB / 0.589 GB, free: 6.805 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006138/0.7607, allocations: 455.4 kB / 0.5894 GB, free: 6.711 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008319/0.7616, allocations: 0.578 MB / 0.59 GB, free: 6.16 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04143/0.803, allocations: 16.15 MB / 0.6058 GB, free: 8.152 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1233/0.9264, allocations: 53.42 MB / 0.6579 GB, free: 2.473 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02084/0.9473, allocations: 15.79 MB / 0.6733 GB, free: 1.195 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007871/0.9552, allocations: 3.808 MB / 0.6771 GB, free: 13.39 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008129/0.9561, allocations: 191.1 kB / 0.6772 GB, free: 13.2 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000142/0.9563, allocations: 85.39 kB / 0.6773 GB, free: 13.11 MB / 462.1 MB Notification: Performance of pre-optimization done (n=504): time 1.259e-05/0.9563, allocations: 0 / 0.6773 GB, free: 13.11 MB / 462.1 MB Notification: Performance of matching and sorting (n=504): time 0.03258/0.9889, allocations: 11.54 MB / 0.6886 GB, free: 1.492 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001296/0.989, allocations: 133.5 kB / 0.6887 GB, free: 1.34 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008949/0.998, allocations: 3.477 MB / 0.6921 GB, free: 13.85 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001256/0.9993, allocations: 105.6 kB / 0.6922 GB, free: 13.74 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00381/1.003, allocations: 4.313 MB / 0.6964 GB, free: 9.398 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002899/1.006, allocations: 1.707 MB / 0.6981 GB, free: 7.707 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001433/1.008, allocations: 136 kB / 0.6982 GB, free: 7.574 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0008724/1.008, allocations: 0.5872 MB / 0.6988 GB, free: 6.98 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007182/1.016, allocations: 3.316 MB / 0.702 GB, free: 3.66 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3392/1.355, allocations: 5.662 MB / 0.7076 GB, free: 150.7 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01017/1.365, allocations: 4.632 MB / 0.7121 GB, free: 150.5 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002008/1.365, allocations: 21.94 kB / 0.7121 GB, free: 150.5 MB / 478.1 MB Notification: Performance of matching and sorting (n=876) (initialization): time 0.0223/1.388, allocations: 10.36 MB / 0.7222 GB, free: 147.5 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.453e-05/1.388, allocations: 38.39 kB / 0.7223 GB, free: 147.5 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001726/1.388, allocations: 77.53 kB / 0.7223 GB, free: 147.5 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00256/1.39, allocations: 1.084 MB / 0.7234 GB, free: 147.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006261/1.397, allocations: 1.512 MB / 0.7249 GB, free: 147.1 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01448/1.411, allocations: 12.48 MB / 0.7371 GB, free: 138.9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006254/1.418, allocations: 0.8483 MB / 0.7379 GB, free: 138.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001488/1.419, allocations: 324.3 kB / 0.7382 GB, free: 138.4 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 341 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (796): * Single equations (assignments): 784 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,100.0%) 30,(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009136/1.428, allocations: 4.109 MB / 0.7422 GB, free: 136.5 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001165/1.429, allocations: 400.6 kB / 0.7426 GB, free: 136.3 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01228/1.442, allocations: 7.998 MB / 0.7504 GB, free: 131.2 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008378/1.45, allocations: 6.609 MB / 0.7569 GB, free: 125.5 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.192e-05/1.45, allocations: 12.62 kB / 0.7569 GB, free: 125.5 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.764e-05/1.45, allocations: 32.5 kB / 0.7569 GB, free: 125.5 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02866/1.479, allocations: 17.9 MB / 0.7744 GB, free: 108.5 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.386e-05/1.479, allocations: 16.06 kB / 0.7744 GB, free: 108.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003293/1.482, allocations: 0.9524 MB / 0.7753 GB, free: 107.5 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002409/1.485, allocations: 0.9695 MB / 0.7763 GB, free: 106.6 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006627/1.485, allocations: 128 kB / 0.7764 GB, free: 106.4 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01144/1.497, allocations: 12.19 MB / 0.7883 GB, free: 93.75 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.094e-05/1.497, allocations: 19.94 kB / 0.7883 GB, free: 93.73 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01785/1.515, allocations: 12.31 MB / 0.8003 GB, free: 80.9 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003068/1.518, allocations: 1.144 MB / 0.8015 GB, free: 79.73 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001151/1.519, allocations: 108 kB / 0.8016 GB, free: 79.62 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002791/1.522, allocations: 331.7 kB / 0.8019 GB, free: 79.3 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006724/1.523, allocations: 395.7 kB / 0.8023 GB, free: 78.91 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002889/1.523, allocations: 168 kB / 0.8024 GB, free: 78.75 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003724/1.527, allocations: 2.339 MB / 0.8047 GB, free: 76.41 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.5e-07/1.527, allocations: 0 / 0.8047 GB, free: 76.41 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00992/1.537, allocations: 2.644 MB / 0.8073 GB, free: 73.75 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 60 * Number of states: 2 (sineVoltage_m.plug_p.reference.gamma,sineVoltage_e.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (507): * Single equations (assignments): 495 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,100.0%) 30,(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001406/1.538, allocations: 326.9 kB / 0.8076 GB, free: 73.44 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01692/1.555, allocations: 8.711 MB / 0.8161 GB, free: 64.64 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.399e-05/1.555, allocations: 4 kB / 0.8161 GB, free: 64.63 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008459/1.563, allocations: 4.323 MB / 0.8203 GB, free: 60.27 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008672/1.572, allocations: 0.9127 MB / 0.8212 GB, free: 59.37 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05218/1.624, allocations: 22.44 MB / 0.8431 GB, free: 36.7 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01071/1.635, allocations: 6.802 MB / 0.8498 GB, free: 29.86 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002176/1.637, allocations: 427.3 kB / 0.8502 GB, free: 29.44 MB / 478.1 MB Notification: Performance of SimCode: time 1.763e-06/1.637, allocations: 0 / 0.8502 GB, free: 29.44 MB / 478.1 MB Notification: Performance of Templates: time 1.025/2.663, allocations: 353.4 MB / 1.195 GB, free: 57.27 MB / 494.1 MB make -j1 -f HanserModelica_HanserModelica.Machines.EquivalentCircuit.makefile make -j1 -f HanserModelica_HanserModelica.Machines.EquivalentCircuit.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 OMCppHanserModelica_HanserModelica.Machines.EquivalentCircuitCalcHelperMain.o OMCppHanserModelica_HanserModelica.Machines.EquivalentCircuitCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHanserModelica_HanserModelica.Machines.EquivalentCircuitCalcHelperMain.o] Error 1