Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.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) 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(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|capacitor2a.v|capacitor2b.v|directCapacitor1.capacitor.v|directInductor3.inductor.i|inductor4a.i|inductor4b.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") translateModel(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|capacitor2a.v|capacitor2b.v|directCapacitor1.capacitor.v|directInductor3.inductor.i|inductor4a.i|inductor4b.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001576/0.001576, allocations: 110.2 kB / 17.81 MB, free: 5.559 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.001812/0.001813, allocations: 197.9 kB / 18.73 MB, free: 4.641 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.98/1.98, allocations: 205.1 MB / 224.6 MB, free: 12.48 MB / 190.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: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 51.92 kB / 280.6 MB, free: 3.586 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1378, allocations: 46.63 MB / 327.2 MB, free: 4.895 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.008023/0.1459, allocations: 5.934 MB / 333.2 MB, free: 14.92 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003327/0.1492, allocations: 1.653 MB / 334.8 MB, free: 13.26 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004168/0.1497, allocations: 31.88 kB / 334.9 MB, free: 13.23 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005088/0.1502, allocations: 186.5 kB / 335 MB, free: 13.05 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004033/0.1506, allocations: 174.5 kB / 335.2 MB, free: 12.88 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008833/0.1515, allocations: 443.6 kB / 335.7 MB, free: 12.44 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001262/0.1528, allocations: 1.305 MB / 337 MB, free: 11.13 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008138/0.1536, allocations: 0.5452 MB / 337.5 MB, free: 10.56 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004924/0.1541, allocations: 422.1 kB / 337.9 MB, free: 10.15 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004814/0.1546, allocations: 481.2 kB / 338.4 MB, free: 9.676 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001135/0.1547, allocations: 76 kB / 338.5 MB, free: 9.602 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000204/0.1549, allocations: 87.98 kB / 338.5 MB, free: 9.516 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002004/0.1552, allocations: 211.1 kB / 338.8 MB, free: 9.309 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005033/0.1557, allocations: 0.5631 MB / 339.3 MB, free: 8.742 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001158/0.1568, allocations: 1.189 MB / 340.5 MB, free: 7.551 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.1568, allocations: 7.938 kB / 340.5 MB, free: 7.543 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.1569, allocations: 0 / 340.5 MB, free: 7.543 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.073e-05/0.1569, allocations: 0 / 340.5 MB, free: 7.543 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.002551/0.1594, allocations: 1.454 MB / 342 MB, free: 6.035 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.978e-05/0.1595, allocations: 8.031 kB / 342 MB, free: 6.027 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002422/0.1598, allocations: 146.3 kB / 342.1 MB, free: 5.883 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001129/0.1609, allocations: 0.7198 MB / 342.8 MB, free: 5.121 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.835e-05/0.161, allocations: 90.41 kB / 342.9 MB, free: 5.031 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001654/0.1612, allocations: 112 kB / 343 MB, free: 4.922 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002187/0.1633, allocations: 1.268 MB / 344.3 MB, free: 3.48 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.749e-05/0.1634, allocations: 11.92 kB / 344.3 MB, free: 3.469 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.954e-05/0.1635, allocations: 56 kB / 344.4 MB, free: 3.414 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-05/0.1636, allocations: 32 kB / 344.4 MB, free: 3.383 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001324/0.1649, allocations: 0.6851 MB / 345.1 MB, free: 2.695 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006662/0.1716, allocations: 6.82 MB / 351.9 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006969/0.1723, allocations: 277.3 kB / 352.2 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000363/0.1727, allocations: 181.5 kB / 352.4 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002495/0.1729, allocations: 85.09 kB / 352.4 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.173, allocations: 42.56 kB / 352.5 MB, free: 10.91 MB / 302.1 MB Notification: Performance of pre-optimization done (n=27): time 2.966e-06/0.173, allocations: 0 / 352.5 MB, free: 10.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.002726/0.1757, allocations: 1.401 MB / 353.9 MB, free: 9.402 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.682e-05/0.1758, allocations: 81.11 kB / 354 MB, free: 9.305 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008474/0.1766, allocations: 0.6569 MB / 354.6 MB, free: 8.637 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.051e-05/0.1767, allocations: 29.7 kB / 354.6 MB, free: 8.602 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005108/0.1772, allocations: 0.6875 MB / 355.3 MB, free: 7.902 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001158/0.1773, allocations: 114.4 kB / 355.4 MB, free: 7.789 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002223/0.1775, allocations: 150.5 kB / 355.6 MB, free: 7.637 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002213/0.1778, allocations: 382.8 kB / 356 MB, free: 7.254 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002978/0.1781, allocations: 141.9 kB / 356.1 MB, free: 7.113 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006817/0.1788, allocations: 0.5506 MB / 356.7 MB, free: 6.367 MB / 302.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: directCapacitor1.currentToVoltage.y = $START.directCapacitor1.currentToVoltage.y ($START.inverseCapacitor1.capacitor.v = $START.directCapacitor1.currentToVoltage.y) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: directInductor3.currentToVoltage.y = $START.directInductor3.currentToVoltage.y ($START.inverseInductor3.inductor.i = $START.directInductor3.currentToVoltage.y) Notification: Performance of analyzeInitialSystem (initialization): time 0.001331/0.1801, allocations: 0.951 MB / 357.6 MB, free: 5.184 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.1801, allocations: 8 kB / 357.6 MB, free: 5.176 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001338/0.1815, allocations: 0.7876 MB / 358.4 MB, free: 4.375 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.301e-05/0.1815, allocations: 12 kB / 358.4 MB, free: 4.363 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.496e-05/0.1815, allocations: 16.28 kB / 358.4 MB, free: 4.348 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002925/0.1818, allocations: 85.67 kB / 358.5 MB, free: 4.258 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005817/0.1824, allocations: 183.7 kB / 358.7 MB, free: 4.078 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003235/0.1857, allocations: 2.989 MB / 361.7 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004186/0.1861, allocations: 28 kB / 361.7 MB, free: 0.7969 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.231e-05/0.1862, allocations: 43.98 kB / 361.7 MB, free: 0.7539 MB / 302.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: directCapacitor1.currentToVoltage.y = $START.directCapacitor1.currentToVoltage.y directInductor3.currentToVoltage.y = $START.directInductor3.currentToVoltage.y. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (91): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000559/0.1867, allocations: 277.3 kB / 362 MB, free: 484 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001522/0.1869, allocations: 75.25 kB / 362.1 MB, free: 408 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000115/0.187, allocations: 78.33 kB / 362.2 MB, free: 328 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.187, allocations: 4 kB / 362.2 MB, free: 324 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.397e-05/0.1871, allocations: 4 kB / 362.2 MB, free: 320 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.1871, allocations: 3.984 kB / 362.2 MB, free: 316 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002081/0.1892, allocations: 1.247 MB / 363.4 MB, free: 14.99 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.1892, allocations: 3.938 kB / 363.4 MB, free: 14.98 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003135/0.1895, allocations: 67.89 kB / 363.5 MB, free: 14.92 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001595/0.1897, allocations: 61.72 kB / 363.6 MB, free: 14.85 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.474e-05/0.1897, allocations: 11.98 kB / 363.6 MB, free: 14.84 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002446/0.1922, allocations: 2.771 MB / 366.3 MB, free: 11.8 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.1922, allocations: 0 / 366.3 MB, free: 11.8 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009584/0.1931, allocations: 0.6467 MB / 367 MB, free: 11.12 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001429/0.1933, allocations: 140.2 kB / 367.1 MB, free: 10.96 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.167e-05/0.1934, allocations: 8 kB / 367.1 MB, free: 10.95 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002497/0.1936, allocations: 15.98 kB / 367.1 MB, free: 10.94 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.268e-05/0.1937, allocations: 28.03 kB / 367.2 MB, free: 10.91 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.919e-05/0.1937, allocations: 11.98 kB / 367.2 MB, free: 10.9 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005434/0.1943, allocations: 435 kB / 367.6 MB, free: 10.48 MB / 318.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.1943, allocations: 4 kB / 367.6 MB, free: 10.48 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009313/0.1952, allocations: 156 kB / 367.8 MB, free: 10.32 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (inverseInductor3.inductor.i,inductor4a.i,inductor4b.i,directCapacitor1.currentToVoltage.y,capacitor2a.v,capacitor2b.v) * 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 (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001807/0.1954, allocations: 111.9 kB / 367.9 MB, free: 10.21 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00136/0.1968, allocations: 0.6483 MB / 368.5 MB, free: 9.535 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.1968, allocations: 0 / 368.5 MB, free: 9.535 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005716/0.1974, allocations: 365.2 kB / 368.9 MB, free: 9.152 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005767/0.198, allocations: 76.31 kB / 369 MB, free: 9.074 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0034/0.2014, allocations: 2.372 MB / 371.3 MB, free: 6.66 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008668/0.2022, allocations: 1.034 MB / 372.4 MB, free: 5.598 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000173/0.2024, allocations: 67.41 kB / 372.4 MB, free: 5.531 MB / 318.1 MB Notification: Performance of SimCode: time 1.212e-06/0.2024, allocations: 0 / 372.4 MB, free: 5.531 MB / 318.1 MB Notification: Performance of Templates: time 0.2419/0.4444, allocations: 19.51 MB / 391.9 MB, free: 46.12 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.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 OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUsCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUsCalcHelperMain.o] Error 1