Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.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.QuasiStationary.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001568/0.001567, allocations: 109.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.002657/0.002658, 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 2.149/2.149, 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.001056/0.001056, allocations: 43.92 kB / 280.6 MB, free: 3.586 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1442, allocations: 46.63 MB / 327.3 MB, free: 4.891 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.007582/0.1518, allocations: 3.75 MB / 331 MB, free: 1.109 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003251/0.1551, allocations: 1.461 MB / 332.5 MB, free: 15.64 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002451/0.1554, allocations: 8 kB / 332.5 MB, free: 15.63 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001647/0.1571, allocations: 0.7161 MB / 333.2 MB, free: 14.91 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001289/0.1584, allocations: 0.5252 MB / 333.7 MB, free: 14.39 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008658/0.1593, allocations: 394.8 kB / 334.1 MB, free: 14 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005796/0.1598, allocations: 469.9 kB / 334.6 MB, free: 13.54 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006192/0.1605, allocations: 344.9 kB / 334.9 MB, free: 13.2 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003294/0.1608, allocations: 215.1 kB / 335.1 MB, free: 12.98 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003496/0.1612, allocations: 274.9 kB / 335.4 MB, free: 12.71 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.993e-05/0.1612, allocations: 32 kB / 335.4 MB, free: 12.68 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004825/0.1617, allocations: 195.8 kB / 335.6 MB, free: 12.49 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.1619, allocations: 107.6 kB / 335.7 MB, free: 12.39 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002505/0.1621, allocations: 230.7 kB / 335.9 MB, free: 12.16 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007413/0.1629, allocations: 0.5377 MB / 336.5 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.578e-06/0.1629, allocations: 0 / 336.5 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1629, allocations: 0 / 336.5 MB, free: 11.62 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.1629, allocations: 0 / 336.5 MB, free: 11.62 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002413/0.1653, allocations: 0.9287 MB / 337.4 MB, free: 10.64 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.1654, allocations: 15.97 kB / 337.4 MB, free: 10.63 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004103/0.1695, allocations: 0.5818 MB / 338 MB, free: 10.05 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005276/0.1701, allocations: 311.7 kB / 338.3 MB, free: 9.703 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.786e-05/0.1701, allocations: 45.69 kB / 338.3 MB, free: 9.66 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.61e-05/0.1702, allocations: 60.28 kB / 338.4 MB, free: 9.602 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/0.1714, allocations: 0.5647 MB / 339 MB, free: 9.027 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.1714, allocations: 0 / 339 MB, free: 9.027 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.562e-05/0.1715, allocations: 24 kB / 339 MB, free: 9.004 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.606e-05/0.1715, allocations: 16 kB / 339 MB, free: 8.988 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001368/0.1729, allocations: 0.6337 MB / 339.6 MB, free: 8.355 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004157/0.1771, allocations: 2.042 MB / 341.7 MB, free: 6.18 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003997/0.1811, allocations: 3.017 MB / 344.7 MB, free: 2.598 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004985/0.1816, allocations: 222 kB / 344.9 MB, free: 2.379 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000142/0.1818, allocations: 97.52 kB / 345 MB, free: 2.266 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.57e-05/0.1818, allocations: 31 kB / 345 MB, free: 2.227 MB / 286.1 MB Notification: Performance of pre-optimization done (n=49): time 3.076e-06/0.1818, allocations: 4 kB / 345 MB, free: 2.223 MB / 286.1 MB Notification: Performance of matching and sorting (n=49): time 0.002286/0.1841, allocations: 0.7971 MB / 345.8 MB, free: 1.395 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.035e-05/0.1842, allocations: 55.84 kB / 345.9 MB, free: 1.328 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002773/0.1845, allocations: 200.5 kB / 346.1 MB, free: 1.125 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.486e-05/0.1846, allocations: 33.7 kB / 346.1 MB, free: 1.086 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002634/0.1849, allocations: 248 kB / 346.4 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002168/0.1851, allocations: 165.6 kB / 346.5 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001974/0.1853, allocations: 94.16 kB / 346.6 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002859/0.1856, allocations: 338.8 kB / 346.9 MB, free: 244 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003894/0.186, allocations: 157 kB / 347.1 MB, free: 88 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005409/0.1866, allocations: 278 kB / 347.4 MB, free: 15.77 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008808/0.1874, allocations: 468.5 kB / 347.8 MB, free: 15.27 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.055e-06/0.1875, allocations: 4 kB / 347.8 MB, free: 15.26 MB / 302.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001267/0.1887, allocations: 0.5861 MB / 348.4 MB, free: 14.66 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.343e-05/0.1888, allocations: 11.94 kB / 348.4 MB, free: 14.65 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000125/0.1889, allocations: 7.938 kB / 348.4 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004205/0.1893, allocations: 89.06 kB / 348.5 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004619/0.1898, allocations: 107.8 kB / 348.6 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003059/0.1929, allocations: 1.842 MB / 350.5 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003842/0.1933, allocations: 59.36 kB / 350.5 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.331e-05/0.1934, allocations: 20 kB / 350.6 MB, free: 12.4 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004366/0.1938, allocations: 173.8 kB / 350.7 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.483e-05/0.1939, allocations: 23.72 kB / 350.7 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001487/0.1954, allocations: 0.555 MB / 351.3 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/0.1954, allocations: 4 kB / 351.3 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1954, allocations: 0 / 351.3 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.283e-05/0.1955, allocations: 7.922 kB / 351.3 MB, free: 11.63 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00248/0.1979, allocations: 1.145 MB / 352.5 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.198, allocations: 0 / 352.5 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003637/0.1983, allocations: 79.89 kB / 352.5 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000329/0.1987, allocations: 80.81 kB / 352.6 MB, free: 10.26 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.497e-05/0.1988, allocations: 15.98 kB / 352.6 MB, free: 10.24 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003412/0.2022, allocations: 1.85 MB / 354.5 MB, free: 8.254 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/0.2022, allocations: 3.984 kB / 354.5 MB, free: 8.25 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001776/0.204, allocations: 0.796 MB / 355.3 MB, free: 7.434 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001898/0.2042, allocations: 112.7 kB / 355.4 MB, free: 7.305 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.55e-05/0.2043, allocations: 19.92 kB / 355.4 MB, free: 7.285 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002356/0.2045, allocations: 12 kB / 355.4 MB, free: 7.273 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/0.2046, allocations: 36.38 kB / 355.5 MB, free: 7.238 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.153e-05/0.2047, allocations: 16 kB / 355.5 MB, free: 7.223 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002287/0.2049, allocations: 152.1 kB / 355.6 MB, free: 7.074 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2049, allocations: 64 / 355.6 MB, free: 7.074 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009688/0.2059, allocations: 163.5 kB / 355.8 MB, free: 6.914 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.pin_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 (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003943/0.2063, allocations: 135.2 kB / 355.9 MB, free: 6.773 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001491/0.2078, allocations: 0.5898 MB / 356.5 MB, free: 6.172 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 7.184e-06/0.2078, allocations: 4.25 kB / 356.5 MB, free: 6.168 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007669/0.2086, allocations: 385 kB / 356.9 MB, free: 5.777 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005226/0.2092, allocations: 31.94 kB / 356.9 MB, free: 5.746 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002421/0.2116, allocations: 1.092 MB / 358 MB, free: 4.621 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007868/0.2124, allocations: 0.8136 MB / 358.8 MB, free: 3.785 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001419/0.2125, allocations: 39.42 kB / 358.9 MB, free: 3.746 MB / 302.1 MB Notification: Performance of SimCode: time 1.562e-06/0.2126, allocations: 3.938 kB / 358.9 MB, free: 3.742 MB / 302.1 MB Notification: Performance of Templates: time 0.01494/0.2275, allocations: 6.582 MB / 365.4 MB, free: 13.15 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.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.QuasiStationary.SinglePhase.Examples.SeriesResonanceCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonanceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonanceCalcHelperMain.o] Error 1