Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.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.SeriesBode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma|abs_y|dB_y|arg_y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma|abs_y|dB_y|arg_y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001775/0.001775, allocations: 105.5 kB / 17.81 MB, free: 5.695 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.002262/0.002262, allocations: 190 kB / 18.72 MB, free: 4.781 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.117/2.117, allocations: 205.1 MB / 224.6 MB, free: 12.49 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.001243/0.001243, allocations: 47.92 kB / 280.6 MB, free: 3.594 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1448, allocations: 46.63 MB / 327.3 MB, free: 4.898 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode): time 0.007692/0.1526, allocations: 4.093 MB / 331.3 MB, free: 0.7773 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.004397/0.157, allocations: 1.64 MB / 333 MB, free: 15.13 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001021/0.1582, allocations: 15.94 kB / 333 MB, free: 15.11 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002551/0.1608, allocations: 0.7161 MB / 333.7 MB, free: 14.39 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002022/0.1628, allocations: 0.5368 MB / 334.3 MB, free: 13.86 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0015/0.1643, allocations: 0.5259 MB / 334.8 MB, free: 13.33 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001271/0.1656, allocations: 0.5485 MB / 335.3 MB, free: 12.78 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001172/0.1668, allocations: 454.6 kB / 335.8 MB, free: 12.33 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007259/0.1675, allocations: 247 kB / 336 MB, free: 12.09 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007112/0.1683, allocations: 314.6 kB / 336.3 MB, free: 11.78 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002432/0.1685, allocations: 43.98 kB / 336.4 MB, free: 11.73 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009414/0.1695, allocations: 223.8 kB / 336.6 MB, free: 11.52 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002655/0.1697, allocations: 127.4 kB / 336.7 MB, free: 11.39 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005872/0.1703, allocations: 278.5 kB / 337 MB, free: 11.12 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001143/0.1715, allocations: 0.6508 MB / 337.6 MB, free: 10.46 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.1715, allocations: 4 kB / 337.6 MB, free: 10.46 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1715, allocations: 0 / 337.6 MB, free: 10.46 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.409e-05/0.1716, allocations: 0 / 337.6 MB, free: 10.46 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: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.003638/0.1752, allocations: 1.034 MB / 338.7 MB, free: 9.375 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.666e-05/0.1753, allocations: 12.03 kB / 338.7 MB, free: 9.363 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004449/0.1797, allocations: 0.6051 MB / 339.3 MB, free: 8.758 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009164/0.1807, allocations: 381.3 kB / 339.7 MB, free: 8.348 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.594e-05/0.1808, allocations: 50.38 kB / 339.7 MB, free: 8.297 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001818/0.1809, allocations: 68.28 kB / 339.8 MB, free: 8.23 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001904/0.1829, allocations: 0.8094 MB / 340.6 MB, free: 7.41 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.708e-05/0.1829, allocations: 0 / 340.6 MB, free: 7.41 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.15e-05/0.183, allocations: 31.94 kB / 340.6 MB, free: 7.379 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-05/0.183, allocations: 33.92 kB / 340.6 MB, free: 7.344 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001788/0.1848, allocations: 0.8394 MB / 341.5 MB, free: 6.508 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005306/0.1902, allocations: 2.719 MB / 344.2 MB, free: 3.609 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002913/0.1931, allocations: 1.956 MB / 346.2 MB, free: 1.316 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005535/0.1937, allocations: 254 kB / 346.4 MB, free: 1.066 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001236/0.1938, allocations: 89.84 kB / 346.5 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.014e-05/0.1939, allocations: 42.94 kB / 346.5 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of pre-optimization done (n=48): time 4.238e-06/0.1939, allocations: 0 / 346.5 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of matching and sorting (n=48): time 0.002236/0.1961, allocations: 0.8285 MB / 347.4 MB, free: 52 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.703e-05/0.1962, allocations: 63.78 kB / 347.4 MB, free: 15.98 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004831/0.1967, allocations: 316.3 kB / 347.7 MB, free: 15.66 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.942e-05/0.1968, allocations: 33.7 kB / 347.8 MB, free: 15.62 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002621/0.1971, allocations: 287.7 kB / 348.1 MB, free: 15.33 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001736/0.1973, allocations: 165.6 kB / 348.2 MB, free: 15.17 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002154/0.1975, allocations: 114.2 kB / 348.3 MB, free: 15.05 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001875/0.1977, allocations: 350.8 kB / 348.7 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000489/0.1982, allocations: 207.4 kB / 348.9 MB, free: 14.49 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006526/0.1989, allocations: 386.3 kB / 349.3 MB, free: 14.04 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/0.2, allocations: 0.6194 MB / 349.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.408e-06/0.2, allocations: 0 / 349.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001688/0.2017, allocations: 0.7046 MB / 350.6 MB, free: 12.62 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.448e-05/0.2018, allocations: 11.98 kB / 350.6 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.981e-05/0.2018, allocations: 4 kB / 350.6 MB, free: 12.6 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003538/0.2022, allocations: 60.83 kB / 350.7 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005813/0.2028, allocations: 139.7 kB / 350.8 MB, free: 12.4 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002128/0.2049, allocations: 1.596 MB / 352.4 MB, free: 10.67 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005149/0.2054, allocations: 71.34 kB / 352.5 MB, free: 10.6 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.236e-05/0.2055, allocations: 35.98 kB / 352.5 MB, free: 10.56 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006326/0.2062, allocations: 329.4 kB / 352.8 MB, free: 10.24 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006613/0.2068, allocations: 386.3 kB / 353.2 MB, free: 9.777 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00104/0.2079, allocations: 0.6041 MB / 353.8 MB, free: 9.09 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.909e-06/0.2079, allocations: 4 kB / 353.8 MB, free: 9.086 MB / 302.1 MB Notification: Performance of matching and sorting (n=74) (initialization_lambda0): time 0.001497/0.2094, allocations: 0.6924 MB / 354.5 MB, free: 8.383 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.2094, allocations: 8 kB / 354.5 MB, free: 8.375 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.2095, allocations: 8.594 kB / 354.5 MB, free: 8.367 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001983/0.2097, allocations: 56.83 kB / 354.6 MB, free: 8.309 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005107/0.2102, allocations: 135.9 kB / 354.7 MB, free: 8.176 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001845/0.212, allocations: 1.6 MB / 356.3 MB, free: 6.438 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004654/0.2125, allocations: 55.52 kB / 356.3 MB, free: 6.383 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.22e-05/0.2126, allocations: 28 kB / 356.4 MB, free: 6.355 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (69): * Single equations (assignments): 68 * 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 {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003689/0.213, allocations: 220.1 kB / 356.6 MB, free: 6.133 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000149/0.2132, allocations: 47.39 kB / 356.6 MB, free: 6.086 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001474/0.2146, allocations: 0.6064 MB / 357.2 MB, free: 5.473 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.223e-06/0.2147, allocations: 4 kB / 357.2 MB, free: 5.469 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.922e-06/0.2147, allocations: 3.938 kB / 357.2 MB, free: 5.465 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.247e-05/0.2147, allocations: 3.984 kB / 357.3 MB, free: 5.461 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002438/0.2171, allocations: 1.297 MB / 358.5 MB, free: 4.109 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.194e-06/0.2171, allocations: 3.984 kB / 358.6 MB, free: 4.105 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004144/0.2176, allocations: 91.83 kB / 358.6 MB, free: 4.016 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002093/0.2178, allocations: 56.89 kB / 358.7 MB, free: 3.957 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.57e-05/0.2179, allocations: 23.98 kB / 358.7 MB, free: 3.934 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001903/0.2198, allocations: 1.572 MB / 360.3 MB, free: 2.223 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.2198, allocations: 0 / 360.3 MB, free: 2.223 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002129/0.2219, allocations: 0.9247 MB / 361.2 MB, free: 1.277 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003363/0.2223, allocations: 148.6 kB / 361.4 MB, free: 1.113 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.422e-05/0.2224, allocations: 12 kB / 361.4 MB, free: 1.102 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003214/0.2227, allocations: 15.98 kB / 361.4 MB, free: 1.086 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/0.2229, allocations: 36.39 kB / 361.4 MB, free: 1.051 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.972e-05/0.2229, allocations: 19.98 kB / 361.4 MB, free: 1.031 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003467/0.2233, allocations: 215.1 kB / 361.7 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2233, allocations: 0 / 361.7 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001563/0.2248, allocations: 279.1 kB / 361.9 MB, free: 0.5508 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 (46): * Single equations (assignments): 45 * 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 {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004259/0.2253, allocations: 131.3 kB / 362.1 MB, free: 424 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002648/0.2279, allocations: 1.103 MB / 363.2 MB, free: 15.29 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/0.228, allocations: 4.062 kB / 363.2 MB, free: 15.28 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007207/0.2287, allocations: 400.9 kB / 363.6 MB, free: 14.88 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000606/0.2293, allocations: 48.58 kB / 363.6 MB, free: 14.82 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002886/0.2322, allocations: 1.272 MB / 364.9 MB, free: 13.52 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006711/0.2329, allocations: 0.8408 MB / 365.7 MB, free: 12.66 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002282/0.2332, allocations: 59.41 kB / 365.8 MB, free: 12.6 MB / 318.1 MB Notification: Performance of SimCode: time 1.653e-06/0.2332, allocations: 0 / 365.8 MB, free: 12.6 MB / 318.1 MB Notification: Performance of Templates: time 0.0197/0.2529, allocations: 8.81 MB / 374.6 MB, free: 3.781 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.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.SeriesBodeCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBodeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBodeCalcHelperMain.o] Error 1